HTMLParamElement

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("HTML DOM")}}

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](/en-US/docs/Web/HTML/Reference/Elements/param#name) attribute.
  • {{domxref("HTMLParamElement.value")}} {{Deprecated_Inline}}
  • : A string representing the value associated to the parameter. It reflects the [value](/en-US/docs/Web/HTML/Reference/Elements/param#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](/en-US/docs/Web/HTML/Reference/Elements/param#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") }}.