HTML <param> nameAttribute
Examples
Set the "autoplay" parameter to "true", so the sound will automatically start playing when the page loads:
<object data="horse.wav">
<param name="autoplay" value="true">
</object>
<param name="autoplay" value="true">
</object>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the name attribute. However, the file format defined in <object> is not supported by all browsers.
Definition and Usage
The name attribute specifies the name of the <param> element.
This attribute is usually used together with the value attribute to specify the<object>parameters of the plugin specified by the tag.
The value of the name attribute can be any name supported by the specified object.
Differences between HTML 4.01 and HTML5
None.
Syntax
<param name="name">
Attribute Values
| Value | Description |
|---|---|
| name | The name of the parameter. |
HTML <param> Tag Other Extensions