Open In App

HTML | param name Attribute

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: 
 

 

Article Tags :