MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 237970 of <param>

  • Revision slug: HTML/Element/param
  • Revision title: param
  • Revision id: 237970
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment 18 words added, 12 words removed

Revision Content

Summary

Parameter element which defines parameters for {{ HTMLElement("object") }}.

Usage context

Content categories None
Permitted content None, this is a void 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 {{ HTMLElement("object") }} before any flow content.
Normative document HTML5, section 4.8.5; HTML 4.01, section 13.3.2

Attributes

Like all other HTML elements, this element supports the global attributes.

{{ htmlattrdef("name") }}
Name of the parameter.
{{ htmlattrdef("type") }}{{ obsolete_inline() }}
Only used if the valuetype is set to "ref". Specifies the type of values found at the URI specified by value.
{{ htmlattrdef("value") }}
Value of the parameter.
{{ htmlattrdef("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 {{ HTMLElement("object") }} in the same document.

DOM interface

This element implements the {{ domxref("HTMLParamElement") }} interface.

Examples

Please see the {{ HTMLElement("object") }} page for examples on <param>.

{{ languages({ "ja": "ja/HTML/Element/param" }) }}

Revision Source

<h2>Summary</h2>
<p><strong>Parameter </strong>element which defines parameters for {{ HTMLElement("object") }}.</p>
<h2>Usage context</h2>
<table class="standard-table"> <tbody> <tr> <td>Content categories</td> <td>None</td> </tr> <tr> <td>Permitted content</td> <td>None, this is a void element.</td> </tr> <tr> <td>Tag omission</td> <td>As it is a void element, the <span title="syntax-start-tag">start tag</span> must be present and the <span title="syntax-end-tag">end tag</span> must not be present.</td> </tr> <tr> <td>Permitted parent elements</td> <td>An {{ HTMLElement("object") }} before any <a href="/en/HTML/Content_categories#Flow_content" title="en/HTML/Content_categories#Flow_content">flow content</a>.</td> </tr> <tr> <td>Normative document</td> <td><a class="external" href="http://www.w3.org/TR/html5/the-iframe-element.html#the-param-element" title="http://www.w3.org/TR/html5/the-iframe-element.html#the-param-element">HTML5, section 4.8.5</a>; <a class="external" href="http://www.w3.org/TR/html401/struct/objects.html#h-13.3.2" title="http://www.w3.org/TR/html401/struct/objects.html#h-13.3.2">HTML 4.01, section 13.3.2</a></td> </tr> </tbody>
</table>
<h2>Attributes</h2>
<p>Like all other HTML elements, this element supports the <a href="/en/HTML/Global_attributes" title="en/HTML/Global attributes">global attributes</a>.</p>
<dl> <dt>{{ htmlattrdef("name") }}</dt> <dd>Name of the parameter.</dd> <dt>{{ htmlattrdef("type") }}{{ obsolete_inline() }}</dt> <dd>Only used if the <code>valuetype</code> is set to "ref". Specifies the type of values found at the URI specified by value.</dd> <dt>{{ htmlattrdef("value") }}</dt> <dd>Value of the parameter.</dd> <dt>{{ htmlattrdef("valuetype") }}</dt> <dd>Specifies the type of the <code>value</code> attribute. Possible values are: <ul> <li>data: Default value. The value is passed to the object's implementation as a string.</li> <li>ref: The value is a URI to a resource where run-time values are stored.</li> <li>object: An ID of another {{ HTMLElement("object") }} in the same document.</li> </ul> </dd>
</dl>
<h2>DOM interface</h2>
<p>This element implements the {{ domxref("HTMLParamElement") }} interface.</p>
<h2>Examples</h2>
<p>Please see the {{ HTMLElement("object") }} page for examples on &lt;param&gt;.</p>
<div class="noinclude">{{ languages({ "ja": "ja/HTML/Element/param" }) }}</div>
Revert to this revision