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 |
|---|---|---|
| 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
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic Support | 1 | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
name | 1 | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
type | 1 | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
value | 1 | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
valuetype | 1 | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
| Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
|---|---|---|---|---|---|---|---|
| Basic Support | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
name | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
type | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
value | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
valuetype | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |

