Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Parameter Object

HTML DOM Parameter Object


Parameter Object

The Parameter object represents an HTML .

element used to define the parameters of an embedded plugin in the element.

Accessing the Parameter Object

You can use getElementById() to access an element. element:

var x = document.getElementById("myParam");

Try it

Creating the Parameter Object

You can create an element using the document.createElement() method. element:

var x = document.createElement("PARAM");

Try it

Parameter Object Properties

property Description
name Sets or returns the value of the name attribute of the parameter
value Sets or returns the value of the value attribute of the parameter

Standard properties and events

The Parameter object also supports the standard property and Events.


Related Articles

HTML Tutorial: HTML Plugins

HTML Reference Manual: HTML tag

HTML Reference Manual: HTML tag