Skip to content
Related Articles

Related Articles

HTML | <param> value Attribute
  • Last Updated : 28 Jun, 2019
GeeksforGeeks - Summer Carnival Banner

The HTML <param> value Attribute is used to specify the value of the <param> element. This attribute is used together with the name attribute to define a parameter for plug-ins which is associated with element.

Syntax:

<param value="value">

Attribute:

  • value: It is used to specify the value of the param Element.

Below example illustrates the use of value attribute in <param> element:

Example:






<!DOCTYPE html>
<html>
  
<head>
    <title>
        HTML param value Attribute
    </title>
      
    <style>
        body {
            text-align: center;
        }
          
        h1 {
            color: green;
        }
    </style>
</head>
  
<body>
    <h1>GeeksforGeeks</h1>
      
    <h2>HTML param value Attribute</h2>
      
    <object data=
        <param name="video" value="play">
    </object>
      
    <object data=
        <param name="audio" value="play">
    </object>
  
</body>
  
</html>                    

Output:

Supported Browsers: The browser supported by HTML <param> value Attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera

full-stack-img

My Personal Notes arrow_drop_up
Recommended Articles
Page :