Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

<param>

翻译正在进行中。

Summary

HTML <param> 元素(或 HTML Parameter 元素) 定义了 <object>的参数

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 parent elements An <object> before any flow content.
DOM interface HTMLParamElement

属性

这个元素包含 全局属性.

name
参数的名字。
type
Only used if the valuetype is set to "ref". Specifies the MIME type of values found at the URI specified by value.
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
WHATWG HTML Living Standard
<param>
Living Standard  
HTML5
<param>
Recommendation  
HTML 4.01 Specification
<param>
Recommendation  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 1.0 (Yes) (Yes) (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support (Yes) (Yes) (Yes) (Yes) (Yes)

See also

文档标签和贡献者

 此页面的贡献者: naive233
 最后编辑者: naive233,