Get the name of a <param> element:
The result of x will be:
The name property sets or returns the value of the name attribute of a parameter.
The name attribute specifies the name of a <param> element.
This attribute is used together with the value attribute to specify parameters for the plugin specified with the <object> tag.
The name attribute value can be any name supported by the specified object.
Note: The <param> tag is supported in all major browsers. However, the file format defined in <object> may not be supported in all browsers.
The name property is supported in all major browsers.
Return the name property:
Set the name property:
Value | Description |
---|---|
name | Specifies the name of the parameter |
Return Value: | A String, representing the name of the parameter |
---|
HTML reference: HTML <param> name attribute