W3cubDocs

/Web APIs

HTMLParamElement

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 HTMLParamElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element.

EventTarget Node Element HTMLElement HTMLParamElement

Instance properties

Inherits properties from its parent, HTMLElement.

HTMLParamElement.name Deprecated

A string representing the name of the parameter. It reflects the name attribute.

HTMLParamElement.value Deprecated

A string representing the value associated to the parameter. It reflects the value attribute.

HTMLParamElement.type Deprecated

A string containing the type of the parameter when valueType has the "ref" value. It reflects the type attribute.

HTMLParamElement.valueType Deprecated

A string containing the type of the value. It reflects the valuetype attribute and has one of the values: "data", "ref", or "object".

Instance methods

No specific methods, inherits methods from its parent, HTMLElement.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
HTMLParamElement 1 12 1 6 ≤12.1 3 4.4 18 4 ≤12.1 1 1.0
name 1 12 1 6 ≤12.1 3 4.4 18 4 ≤12.1 1 1.0
type 1 12 1 6 ≤12.1 3 4.4 18 4 ≤12.1 1 1.0
value 1 12 1 6 ≤12.1 3 4.4 18 4 ≤12.1 1 1.0
valueType 1 12 1 6 ≤12.1 3 4.4 18 4 ≤12.1 1 1.0

See also

  • The HTML element implementing this interface: <param>.

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement