`<param>` HTML object parameter element
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
The **<param>** HTML element defines parameters for an {{HTMLElement("object")}} element.
توجه: Use the {{HTMLElement("object")}} element with a [data](/en-US/docs/Web/HTML/Reference/Elements/object#data) attribute to set the URL of an external resource.
Attributes
This element includes the global attributes.
name{{deprecated_inline}} {{non-standard_inline}}- : Name of the parameter.
value{{deprecated_inline}} {{non-standard_inline}}- : Specifies the value of the parameter.
type{{deprecated_inline}} {{non-standard_inline}}- : Only used if the
valuetypeis set toref. Specifies the MIME type of values found at the URI specified by value. valuetype{{deprecated_inline}} {{non-standard_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
<table class="properties"> <tbody> <tr> <th scope="row"> <a href="/en-US/docs/Web/HTML/Guides/Content_categories"
توجه: Content categories</a
</th> <td>None.</td> </tr> <tr> <th scope="row">Permitted content</th> <td>None; it is a {{Glossary("void element")}}.</td> </tr> <tr> <th scope="row">Tag omission</th> <td>Must have a start tag and must not have an end tag.</td> </tr> <tr> <th scope="row">Permitted parents</th> <td> An {{HTMLElement("object")}} before any <a href="/en-US/docs/Web/HTML/Guides/Content_categories#flow_content"
توجه: flow content</a .
</td> </tr> <tr> <th scope="row">Implicit ARIA role</th> <td> <a href="https://w3c.github.io/html-aria/#dfn-no-corresponding-role"
توجه: No corresponding role</a
</td> </tr> <tr> <th scope="row">Permitted ARIA roles</th> <td>No <code>role</code> permitted</td> </tr> <tr> <th scope="row">DOM interface</th> <td>{{domxref("HTMLParamElement")}}</td> </tr> </tbody> </table>
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- {{HTMLElement("object")}}