Please note, this is a STATIC archive of website from 10 Sep 2022, does not collect or store any user information, there is no "phishing" involved.

HTML <param> Tag

Topic: HTML5 Tags ReferencePrev|Next


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

Any number of <param> elements may appear inside an <object> 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.

Parent: <object>, <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


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">

Tag-Specific Attributes

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

Attribute Value Description
Required — The following attribute must be specified on this tag for the markup to be valid.
name text Specifies the name of the parameter.
Optional — The following attributes are optional.
value text Specifies the value of the parameter.
type content type Obsolete Specifies the type of the value attribute.
valuetype data
Obsolete Specifies the type of the value attribute.

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

The <param> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox 1+
  • Google Chrome 1+
  • Internet Explorer 3+
  • Apple Safari 1+
  • Opera 5+

Further Reading

See tutorial on: HTML Audio, HTML Video.

Related tag: <object>.

Bootstrap UI Design Templates