Param

<param>: The Object Parameter element #

::: section-content ::: {#sect1 .notecard .deprecated} Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. :::

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

Attributes #

::: section-content This element includes the global attributes.

name [Deprecated]{.visually-hidden}

Name of the parameter.

value [Deprecated]{.visually-hidden}

Specifies the value of the parameter.

type [Deprecated]{.visually-hidden}

Only used if the valuetype is set to ref. Specifies the MIME type of values found at the URI specified by value.

valuetype [Deprecated]{.visually-hidden}

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. :::

Technical summary #

::: section-content

Content categoriesNone.
Permitted contentNone; it is a void 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
:::

Specifications #

::: _table #

Specification #

HTML Standard
[# the-param-element]{.small}


:::

Browser compatibility #

::: _table Desktop Mobile


            Chrome    Edge   Firefox   Internet Explorer   Opera   Safari   WebView Android   Chrome Android   Firefox for Android   Opera Android   Safari on IOS   Samsung Internet

param 1 12 1 Yes 15 ≤4 4.4 18 4 14 ≤3.2 1.0 name 1 12 1 Yes 15 ≤4 4.4 18 4 14 ≤3.2 1.0 type 1 12 1 Yes 15 ≤4 4.4 18 4 14 ≤3.2 1.0 value 1 12 1 Yes 15 ≤4 4.4 18 4 14 ≤3.2 1.0 valuetype 1 12 1 Yes 15 ≤4 4.4 18 4 14 ≤3.2 1.0 :::

See also #

::: section-content

::: _attribution © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param{._attribution-link} :::