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.

AttributeValueDescriptionDTD
namenameSpecifies the name of a parameterSTF

4. Optional Attributes

AttributeValueDescriptionDTD
typeMIME_typeSpecifies the MIME type of the parameterSTF
valuevalueSpecifies the value of the parameterSTF
valuetypedata
ref
object
Specifies the type of the valueSTF

5. Standard Attributes

The <param> tag supports the following standard attributes:

AttributeValueDescriptionDTD
ididSpecifies a unique id for an elementSTF

Event Attributes

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


Relative articles