Skip to content
Related Articles

Related Articles

HTML | param name Attribute

Improve Article
Save Article
  • Last Updated : 28 Jul, 2022
Improve Article
Save Article

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: 
 

html




<!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: 
 

  • Google Chrome
  • Firefox
  • Edge
  • Opera
  • Apple Safari

 

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!