The HTML <param> element defines parameters for an <object> element.
| Content categories | None. |
|---|---|
| Permitted content | None, it is an empty element. |
| Tag omission | As it is a void element, the start tag must be present and the end tag must not be present. |
| Permitted parents | An <object> before any flow content. |
| Permitted ARIA roles | None |
| DOM interface | HTMLParamElement |
Attributes
This element includes the global attributes.
name- Name of the parameter.
type- Only used if the
valuetypeis set to "ref". Specifies the MIME type of values found at the URI specified by value. value- Specifies the value of the parameter.
valuetype- Specifies the type of the
valueattribute. Possible values are:- data: Default value. The value is passed to the object's implementation as a string.
- ref: The value is a URI to a resource where run-time values are stored.
- object: An ID of another
<object>in the same document.
Examples
Please see the <object> page for examples on <param>.
Specifications
| Specification | Status | Comment |
|---|---|---|
| WHATWG HTML Living Standard The definition of '<param>' in that specification. |
Living Standard | |
| HTML5 The definition of '<param>' in that specification. |
Recommendation | |
| HTML 4.01 Specification The definition of '<param>' in that specification. |
Recommendation |
Browser compatibility
| Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|---|
| Basic support | 1.0 | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
| Feature | Android | Edge | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
See also
Document Tags and Contributors
Tags:
Contributors to this page:
sideshowbarker,
libbymc,
Sebastianz,
teoli,
yyss,
kscarfone,
Pruthvi,
Sheppy,
medicdude,
ethertank,
cers,
McGurk
Last updated by:
sideshowbarker,