Description

The <param> (short for parameter) tag defines parameters to be passed to an embedded param at run-time defined by the <param> tag.

Any number of <param> elements may appear inside an element, in any order, but must be placed at the start of the content.

The following table summarizes the usages context and the version history of this tag.

Placement:<param>, <applet>
Content:None. It is an empty element.
Start/ End Tag:Start tag: required, End tag: forbidden
Version:HTML 3.2, 4, 4.01, 5

Syntax

The basic syntax of the <param> tag is given with:

HTML:<param name="text">; XHTML:<param name="text" />

Note: In HTML, the end tag for the <param> tag is forbidden. In XHTML, the <param> tag must be closed with a trailing slash, like this: <param />.

The example below shows the <param> tag in action.

<object type="application/x-shockwave-flash">
    <param name="movie" value="video/blur.swf">
</object>   

Tag-Specific Attributes

The following table shows the attributes that are specific to the <param> tag.

Global Attributes

Like all other HTML tags, the <param> tag supports the global attributes in HTML5.

Event Attributes

The <param> tag also supports the event attributes in HTML5.

Browser Compatibility

Element
<param>YesYesYesYesYes