Back to Content

HTMLMeterElement

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

latest2.0 KB
Original Source

{{APIRef("HTML DOM")}}

The HTML {{HTMLElement("meter")}} elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the {{domxref("HTMLElement")}} object interface they also have available to them by inheritance) for manipulating the layout and presentation of {{HTMLElement("meter")}} elements.

{{InheritanceDiagram}}

Instance properties

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

  • {{domxref("HTMLMeterElement.high")}}
    • : A double representing the value of the high boundary, reflecting the high attribute.
  • {{domxref("HTMLMeterElement.low")}}
    • : A double representing the value of the low boundary, reflecting the low attribute.
  • {{domxref("HTMLMeterElement.max")}}
    • : A double representing the maximum value, reflecting the max attribute.
  • {{domxref("HTMLMeterElement.min")}}
    • : A double representing the minimum value, reflecting the min attribute.
  • {{domxref("HTMLMeterElement.optimum")}}
    • : A double representing the optimum, reflecting the optimum attribute.
  • {{domxref("HTMLMeterElement.value")}}
    • : A double representing the current value, reflecting the value attribute.
  • {{domxref("HTMLMeterElement.labels")}} {{ReadOnlyInline}}
    • : A {{domxref("NodeList")}} of {{HTMLElement("label")}} elements that are associated with the element.

Instance methods

This interface does not implement any specific methods but inherits methods from its parent, {{domxref("HTMLElement")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

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