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.

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

Summary

The HTML <param> Element (or HTML Parameter Element) defines parameters for <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

Attributes

This element includes the global attributes.

name
Name of the parameter.
type
Only used if the valuetype is set to "ref". Specifies the MIME type of values found at the URI specified by value.
value
Specifies the value of the parameter.
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
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

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

文件標籤與貢獻者

 最近更新: Sebastianz,