HTML <param> value Attribute
The HTML <param> value Attribute defines the value of a <param> element, used with the name attribute to specify parameters for plugins within <object> tags.
Syntax:
<param value="value">
Note: This attribute is depreciated from HTML 5.
Attribute:
Name | Description |
---|---|
value | It is used to specify the value of the param Element. |
HTML <param> value Attribute Examples
Example 1: In this example we are using the <param> element’s value attribute within <object> tags to specify parameters for playing video and audio files.
<!DOCTYPE html>
<html>
<head>
<title>
HTML param value Attribute
</title>
</head>
<body>
<object data=
"https://media.w3wiki.net/wp-content/uploads/20190626010302/ice_video_20190626-005104_edit_0.mp4">
<param name="video" value="play">
</object>
<object data=
"https://media.w3wiki.net/wp-content/uploads/20190625154423/1-1.wav">
<param name="audio" value="play">
</object>
</body>
</html>
Output:
Supported Browsers
The browser supported by HTML <param> value Attribute are listed below: