HTML <param> value Attribute
Example
Set the "autoplay" parameter to "true", so the sound will start playing as soon as the page loads:
<object data="horse.wav">
<param name="autoplay" value="true">
</object>
Try it Yourself »
Definition and Usage
The value
attribute specifies the value of a
<param>
element.
This attribute is used together with the name
attribute to specify
parameters for the plugin specified with the
<object>
tag.
The value can be any value supported by the specified object.
Browser Support
Attribute | |||||
---|---|---|---|---|---|
value | Yes | Yes | Yes | Yes | Yes |
The value
attribute is supported in all major browsers. However, the file
format defined in <object>
may not be supported in all browsers.
Syntax
<param value="value">
Attribute Values
Value | Description |
---|---|
value | The value of the parameter |
❮ HTML <param> tag