HTML <param> tag
To define parameters for embedded object, the <param> tag is used within the <object> tag.
Syntax:
<param name=”parameter-name” value=”value-name”>
Example
<object data="html-audio.mp3"> <param name="controller" value="true"> <param name="autoplay" value="false"> </object>
Default CSS Value
None
How Browser will display
INLINE.
Difference between HTML4.01, XHTML and HTML5
HTML4 | XHTML | HTML5 |
---|---|---|
<param> tag has no end tag | must include end tag as - <param> | type and valuetype attribute which is sometimes used with this tag is deprecated HTML5 |
Attributes used with <param> tag
Attribute | Description |
---|---|
name | Describes the name of the element. |
value | Describes the value of the element |
type | Describes the media type. (HTML5 does not support this attribute when it is used with the <param> tag). |
valuetype | Describes the type of the value of the parameter(HTML5 does not support this attribute when it is used with the <param> tag). |
Global Attributes
The <param> tag supports global attributes.
Event Attributes
The <param> tag supports event attributes
Supporting Browsers
Internet Explore 8 and prior versions has limited support for this tag. For example, I.E 8 or previous versions does not support the .wav file format.
Related Tags
<object> or <applet> tags.