Welcome to HTML5-Tutorials

Our site offers a lot of HTML5 learning from absolutely beginning to advanced level.If you want to make a website with HTML,this site will completely guide you a lot.So learn HTML5 syntax and form of coding easily with this website.If you have any doubt,leave a message on us.We will return you so soon.This site includes innumerable number of references you need to do after studying their corresponding elements.

In this page,we will learn about HTML <param> tag.

Use of <param> tag

The <param> tag is used to define parameter for plugin-powered content embedded within an <object> element.
The HTML <param> tag is zero tag or null tag because it has no end tag like </param>

Display:Inline

Example of <param> tag

    <object data="/media/audio/nice.mp3">
          <param name="autoplay" value="true">
    </object>

Supported Browsers.

Tag
<param> Yes Yes Yes Yes Yes

Full Code Example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<object data="/media/audio/nice.mp3">
<param name="autoplay" value="true">>
</object>
</body>
</html>

Output

>

More Reference

With the coming of HTML5, media files of different formats can be embedded within webpage.
You should know that <param> tag has no end tag like </param>.But in XHTML,it has end tag like <param />.

Default CSS properties of <param> tag

    param{
       display:none;
    }

Attributes of <param> tag


Attribute Value Notes
name name It specifies the parameter name.
type media_type It specifies the media_type of the parameter.
value value It specifies the parameter value.
valuetype data
object
reference
It specifies the type of the parameter value.

The type and valuetype attributes are not supported in HTML5.We are not discussing it anymore.