`<param>` HTML object parameter element
The <param> HTML element defines parameters for an object element.
The <param> HTML element defines parameters for an object element.
[!NOTE] Use the object element with a
dataattribute to set the URL of an external resource.
Attributes
This element includes the global attributes.
name- : Name of the parameter.
value- : Specifies the value of the parameter.
type- : Only used if the
valuetypeis set toref. Specifies the MIME type of values found at the URI specified by value. 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.
Technical summary
| Content categories | None. |
|---|---|
| Permitted content | None; it is a void element. |
| Tag omission | Must have a start tag and must not have an end tag. |
| Permitted parents | An object before any flow content. |
| Implicit ARIA role | No corresponding role |
| Permitted ARIA roles | No role permitted |
| DOM interface | HTMLParamElement |
Specifications
Browser compatibility
See also
- object