param

FilterElements

HTML: <param>
XHTML: <param/>  or  <param />

Supplies a parameter within an applet or object element. A parameter is info required by the applet or media object at runtime.

Start/End Tags

This is an empty element. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a trailing slash as just shown. Developers may include a space character before the slash for backward compatibility with older browsers.

Specifications

  • HTML 4.01
  • HTML5

id=

Values: text
Provides a name (similar to the name attribute) so that it can be referenced from a link, script, or style sheet.

name=

Values: text
Required. Defines the name of the parameter.

type=

Values: content type
Not in HTML5. Specifies the media type of the resource only when the valuetype attribute is set to ref. It describes the types of values found at the referred location.

value=

Values: text
Defines the value of the parameter.

valuetype=

Values: data | ref | object
Not in HTML5. Indicates the type of value: data indicates that the parameter’s value is data (default); ref indicates that the parameter’s value is a URL; object indicates that the value is the URL of another object in the document.

See object for additional examples.

HTML
<param name="autoStart" value="false">
XHTML
<param name="autoStart" value="false" />

Rendered Example

param controls the behavior of embedded media and is a non-rendering element.