HTML Tag Reference - HTML tag <param>








This <param> element is used to establish the starting property values of the <embed>, and <object> elements.

Browser compatibility

<param> Yes Yes Yes Yes Yes

What's new in HTML5

The "type" and "valuetype" attributes are deprecated in HTML5.

Attribute

Attribute Value Description
name name Set the parameter name
type media_type Not supported in HTML5.
Set the parameter media type
value value Set the value of the parameter
valuetype data
ref
object
Not supported in HTML5.
Set the type of the value




Global Attributes

The <param> tag supports the Global Attributes in HTML.

Event Attributes

The <param> tag supports the Event Attributes in HTML.

Default CSS Settings

param {
    display: none;
}

Example

A demo showing how to use <param> tag.

<html>
<body>
        <object width="560" height="349" 
                data="http://www.youtube.com/v/a2_6bGNZ7bA" 
                type="application/x-shockwave-flash"> 
            <param name="allowFullScreen" value="true"/> 
        </object> 
</body>
</html>

Click to view the demo