Open In App

HTML | param name Attribute

Improve
Improve
Like Article
Like
Save
Share
Report

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

 


Last Updated : 28 Jul, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads