HTML <param> valueAttribute
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 value attribute. However, the file format defined in <object> is not supported by all browsers.
Definition and Usage
The value attribute specifies the value of the <param> element.
This attribute is usually used together with the name attribute to specify the<object>parameters of the plugin specified by the tag.
The value of the value attribute can be any value supported by the specified object.
Differences between HTML 4.01 and HTML5
None.
Syntax
<param value="value">
Attribute Values
| Value | Description |
|---|---|
| value | The value of the parameter. |
HTML <param> Tag Other Extensions