Back to Content

HTMLParamElement

files/en-us/web/api/htmlparamelement/index.md

latest1.6 KB
Original Source

{{APIRef("HTML DOM")}}{{Deprecated_Header}}

The HTMLParamElement interface provides special properties (beyond those of the regular {{domxref("HTMLElement")}} object interface it inherits) for manipulating {{HTMLElement("param")}} elements, representing a pair of a key and a value that acts as a parameter for an {{HTMLElement("object")}} element.

{{InheritanceDiagram}}

Instance properties

Inherits properties from its parent, {{domxref("HTMLElement")}}.

  • {{domxref("HTMLParamElement.name")}} {{Deprecated_Inline}}
    • : A string representing the name of the parameter. It reflects the name attribute.
  • {{domxref("HTMLParamElement.value")}} {{Deprecated_Inline}}
    • : A string representing the value associated to the parameter. It reflects the value attribute.
  • {{domxref("HTMLParamElement.type")}} {{Deprecated_Inline}}
    • : A string containing the type of the parameter when valueType has the "ref" value. It reflects the type attribute.
  • {{domxref("HTMLParamElement.valueType")}} {{Deprecated_Inline}}
    • : 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, {{domxref("HTMLElement")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • The HTML element implementing this interface: {{ HTMLElement("param") }}.