Skip to content
Related Articles

Related Articles

HTML <param> Tag

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 31 May, 2022
Improve Article
Save Article

The <param> tag in HTML is used to define a parameter for plug-ins which is associated with <object> element. It does not contain the end tag.

Syntax: 

<param name="" value="">

Attributes: This tag accepts four attributes, which are described below.

  • name: It is used to specify the name of the parameter.
  • value: It is used to specify the value of the parameter.
  • type: It is used to specify the media type.
  • valuetype: It is used to specify the type of the value.

Note: The <param> tag is not supported in HTML5.
Example 1: 

HTML




<!DOCTYPE html>
<html>
<body>
    <h1>GeeksforGeeks</h1>
    <h2>HTML param Tag</h2>
    <object data=
        <param name="video" value="play">
    </object>
</body>
</html>                               

Output:

Example 2:

HTML




<!DOCTYPE html>
<html>
<body>
    <h1>GeeksforGeeks</h1>
    <h2>HTML param Tag</h2>
    <object data=
        <param name="video" value="play">
    </object>
</body>
</html>

Output:

Supported Browsers:

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

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!