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