Advertisement

HTML <param> tag

Examples

Adds an object to the HTML code:

<object classid="clsid:F08DF954-8592-11D1-B16A-00C0F0283628" id="Slider1" 
width="100" height="50">
  <param name="BorderStyle" value="1" />
  <param name="MousePointer" value="0" />
  <param name="Enabled" value="1" />
  <param name="Min" value="0" />
  <param name="Max" value="10" />
</object>

Try it yourself

Browser Support

IE Firefox Chrome Safari Opera

All browsers support <param> tag.

Definition and Usage

param element allows you to insert XHTML document object specifies the run-time settings, that is, the label may contain its <object> or <applet> tag with parameters.

Differences between HTML and XHTML

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

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

Required attributes

Attributes value description
name unique_name Defines the name of the parameter (used in the script).

Optional attributes

Attributes value description
type MIME type Parameters specified MIME type (internet media type).
value value A predetermined value of the parameter.
valuetype
  • data
  • ref
  • object
MIME type specified value.

Global Properties

<param> tag supports HTML in the global properties .

Event Properties

<param> tag supports HTML in the event properties .

Related Pages

HTML DOM Reference Manual: the Parameter Object