Easy Tutorial
❮ Prop Img Vspace Met Canvas Filltext ❯

Parameter name Attribute

Parameter Object

Example

Get the name of a <param> element:

var x = document.getElementById("myParam").name
autoplay

Definition and Usage

The name attribute is used to set or return the value of the name attribute of a parameter.

The name attribute specifies the name of the <param> element.

This attribute is typically used together with the value attribute to specify parameters for the plugin defined by the <object> tag.

The value of the name attribute can be any name supported by the specified object.

Note: All major browsers support the name attribute. However, not all browsers support all file formats defined in <object>.


Browser Support

All major browsers support the name attribute.


Syntax

Return the name attribute:

Set the name attribute:

Attribute Values

Value Description
name Specifies the name of the parameter

Technical Details

| Return Value: | String, representing the name of the parameter | | --- | --- |


Related Pages

HTML Reference: HTML <param> name Attribute


❮ Prop Img Vspace Met Canvas Filltext ❯