Parameter name attribute
Definition and usage
name
The attribute sets or returns the value of the name attribute of the parameter.
<param> name attribute Define the name of the <param> element.
This attribute corresponds to value attribute Used together, for <object> tag Specified plugin parameters.
The value of the name attribute can be any name supported by the object.
Note:All major browsers support <param> tagHowever,<object> The file formats defined in it may not be supported by all browsers.
See also:
HTML Reference Manual:HTML <param> Tag
Example
Get the name of the <param> element:
var x = document.getElementById("myParam").name
Syntax
Return the name attribute:
parameterObject.name
Set the name attribute:
parameterObject.name = name
Attribute Value
Value | Description |
---|---|
name | Specifies the name of the parameter. |
Technical Details
Return Value: | A string value representing the name of the parameter. |
---|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |
Related Pages
HTML Reference Manual:HTML <param> name Attribute