Last Updated : 28 Jul, 2022
The HTML param name Attribute is used to specify a name of a <param> element. This attribute is used together with the value attribute to define a parameter for plug-ins which is associated with <object> element.
Syntax:
<param name="name">
Note: This attribute is depreciated from HTML 5.
Attribute Values: It contains the value i.e name which specify the name for the <param> element.
Example:
<!DOCTYPE html>
<html>
<head>
<title>HTML | param name Attribute</title>
<style>
body {
text-align: center;
}
h1 {
color: green;
}
</style>
</head>
<body>
<h1>GeeksforGeeks</h1>
<h2>HTML param name Attribute</h2>
<object data="sample.mp4">
<param name="video" value="play">
</object>
</body>
</html>
Output :
Supported Browsers:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4