HTML <param> Tag
To pass the parameters to the plugin included with the <object> tag, the HTML <param> tag is used with the HTML <object> tag. Multiple <param> tags can be used within an <object> element.
Syntax:
<param name=" " value="">
Example:
<!DOCTYPE html> <html> <body> <p>Example:</p> <object data="peacock.wav"> <param name="autoplay" value="true"> </object> </body> </html>
Explanation:
In the above example, we are using the HTML <param> tag with the HTML <object> tag to pass the parameters to the plugin.
Tag-specific attributes:
Attribute | Value | Uses | HTML 5 |
name | name | Used to indicate the name of a parameter. | |
type | media_type | Used to indicate the media type of a parameter. | Not supported in HTML5. |
value | value | Used to indicate the value of a parameter. | |
valuetype | data
ref object |
Used to indicate the type of the value of a parameter. | Not supported in HTML5. |
Global attributes:
The HTML global attributes are supported by the HTML <param> tag.
Event attributes:
The HTML event attributes are supported by the HTML <param> tag.
Supporting Browsers:
Chrome, IE, Firefox, Opera, and Safari.