HTML <param> value Attribute
Last Updated :
12 Mar, 2024
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.
HTML<!DOCTYPE html>
<html>
<head>
<title>
HTML param value Attribute
</title>
</head>
<body>
<object data=
"https://media.geeksforgeeks.org/wp-content/uploads/20190626010302/ice_video_20190626-005104_edit_0.mp4">
<param name="video" value="play">
</object>
<object data=
"https://media.geeksforgeeks.org/wp-content/uploads/20190625154423/1-1.wav">
<param name="audio" value="play">
</object>
</body>
</html>
Output:
HTML param value attribute
Supported Browsers
The browser supported by HTML <param> value Attribute are listed below:
Share your thoughts in the comments
Please Login to comment...