Skip to content
Related Articles

Related Articles

Improve Article

HTML | param name Attribute

  • Last Updated : 10 Jun, 2021

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"> 

Attribute Values: It contains the value i.e name which specify the name for the <param> element.
Example: 
 

html




<!DOCTYPE html>
<html>
 
<head>
    <title>param tag</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

 

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :