<param>: The Object Parameter element - HTML: HyperText Markup Language 编辑

The HTML <param> element defines parameters for an <object> element.

Content categoriesNone.
Permitted contentNone, it is an empty element.
Tag omissionAs it is a void element, the start tag must be present and the end tag must not be present.
Permitted parentsAn <object> before any flow content.
Implicit ARIA roleNo corresponding role
Permitted ARIA rolesNo role permitted
DOM interfaceHTMLParamElement

Attributes

This element includes the global attributes.

name
Name of the parameter.
value
Specifies the value of the parameter.

Deprecated attributes

type This deprecated API should no longer be used, but will probably still work.
Only used if the valuetype is set to ref. Specifies the MIME type of values found at the URI specified by value.
valuetype This deprecated API should no longer be used, but will probably still work.
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

SpecificationStatusComment
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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:42 次

字数:6309

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文