The HTML <param> tag
Definition and Usage
<param>
The tag is used to define <object> Element Parameters.
See also:
HTML DOM Reference Manual:Parameter Object
Instance
Take "autoplay"
The parameter is set to "true"
So the sound will start playing immediately after the page is loaded:
<object data="song.mp3"> <param name="autoplay" value="true"> </object>
Attribute
Attribute | Value | Description |
---|---|---|
name | Name | Specifies the name of the parameter. |
value | Value | Specifies the value of the parameter. |
Global Attributes
<param>
The tag also supports Global Attributes in HTML.
Event Attributes
<param>
The tag also supports Event Attributes in HTML.
Default CSS Settings
Most browsers will use the following default values to display the <param> element:
param { display: none; {}
Browser Support
All major browsers support the <param> tag. However, not all browsers support the file formats defined in <object>.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |