Hurry! Try our new Interactive Courses for FREE. 🥳   🚀
  Signup/Sign In

HTML Param Tag

In HTML, the <param> tag stands for Parameters.

  • So, this <param> tag is used to define parameters for <object> tag.

  • The <param> tag is an empty tag.

HTML <param> Tag Syntax and Usage

As we have told you in the above section that it is an empty tag; thus it does not require any end tag.

The <param> tag only requires a start tag. The Required syntax for the same is given below:

<param  attribute=" " >

HTML <param> Tag Attributes

The <param> tag supports both global and event attributes and some of the common attributes are given below.

1. Name

This attribute is used to specify the name of the parameter.

2. Value

This attribute is used to specify the value of a parameter.


Note: type and value type attributes of <param> tag are depricated from HTML.

HTML <param> Tag Basic Example

Below we have a basic example for clear understanding of <param> tag:

<!DOCTYPE html>
<html>
<body>

<h1>The param tag example</h1>

<object data="abc.mp3">
<param name="autoplay" value="true">
</object>

</body>
</html>

Default CSS Settings For HTML <param> Tag

Given below are default CSS Settings for <param> tag

param {
  display: none;
}

Browser Support for HTML <param> Tag

Following browsers support this attribute:

  • Firefox 1+

  • Google Chrome 1+

  • Internet Explorer 3+

  • Safari 1+

  • Opera 5+