Firefox Tomorrow

web api interface

HTMLMeterElement

View on MDN ↗

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

Instance properties

Also inherits properties from its parent, HTMLElement.

  • high
    • : A double representing the value of the high boundary, reflecting the high attribute.
  • low
    • : A double representing the value of the low boundary, reflecting the low attribute.
  • max
    • : A double representing the maximum value, reflecting the max attribute.
  • min
    • : A double representing the minimum value, reflecting the min attribute.
  • optimum
    • : A double representing the optimum, reflecting the optimum attribute.
  • value
    • : A double representing the current value, reflecting the value attribute.
  • labels Read only

Instance methods

This interface does not implement any specific methods but inherits methods from its parent, HTMLElement.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also

  • The HTML element implementing this interface: <meter>