Tag <param> HTML Reference



Example

Set the "autoplay" parameter to "false", so the sound won't start playing as soon as the page loads:

<object classid="clsid:D27CDB6E" width="200" height="100" bgcolor="#FFFFFF">
  <param name="movie" value="flash.swf" />
  <param name="wmode" value="opaque" />
  <param name="allowscriptaccess" value="always" />
</object>

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

1. Definition and Usage

The <param> tag is used to define parameters for plugins embedded with an <object> element.


2. Differences Between HTML and XHTML

In HTML the <param> tag has no end tag.

In XHTML the <param> tag must be properly closed.


3. Required Attributes

DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.

Attribute Value Description DTD
name name Specifies the name of a parameter STF

4. Optional Attributes

Attribute Value Description DTD
type MIME_type Specifies the MIME type of the parameter STF
value value Specifies the value of the parameter STF
valuetype data
ref
object
Specifies the type of the value STF

5. Standard Attributes

The <param> tag supports the following standard attributes:

Attribute Value Description DTD
id id Specifies a unique id for an element STF

Event Attributes

The <param> tag does not support any event attributes.


Relative articles