HTML5 <param> Tag

Example

How to set a parameter for the object element:

<object data="song.ogg">
<param name="autoplay" value="false" />
</object>

Try it yourself »

Definition and Usage

The param element allows you to specify the run-time settings for an object inserted into HTML documents.

Use the param element together with the object element.


Differences Between HTML 4.01 and HTML5

HTML 4.01 attributes "type" and "valuetype" are not supported in HTML5.


Attributes

Attribute Value Description
name name Defines the name of the parameter
type MIME_type Not supported in HTML5.
value value Specifies the value of the parameter
valuetype data
ref
object
Not supported in HTML5.

Standard Attributes

The <param> tag also supports the Standard Attributes in HTML5.


Event Attributes

The <param> tag also supports the Event Attributes in HTML5.