<param>: The Object Parameter element - HTML: HyperText Markup Language 编辑
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. |
Implicit ARIA role | No corresponding role |
Permitted ARIA roles | No role permitted |
DOM interface | HTMLParamElement |
Attributes
This element includes the global attributes.
name
- Name of the parameter.
value
- Specifies the value of the parameter.
Deprecated attributes
type
- Only used if the
valuetype
is set toref
. Specifies the MIME type of values found at the URI specified by value. valuetype
- Specifies the type of the
value
attribute. 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
BCD tables only load in the browser
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论