HTML <param> tag
Definitie en gebruik
<param>
wordt gebruikt om <object> element Parameters.
Zie ook:
HTML DOM-handboek:Parameter object
instantie van
Maak een "autoplay"
Parameter ingesteld op "true"
Op deze manier begint het geluid onmiddellijk af te spelen nadat de pagina is geladen:
<object data="song.mp3"> <param name="autoplay" value="true"> </object>
Attribute
Attribute | Value | Description |
---|---|---|
name | Name | Specify the name of the parameter. |
value | Value | Specify 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 |