W3cubDocs

/DOM

HTMLMeterElement

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.

Properties

Inherits properties from its parent, HTMLElement.

Name Type Description
high double It returns the value of the high boundary, reflecting the high <meter> attribute.
low double It returns the value of the low boundary, reflecting the low <meter> attribute.
max double It return the maximum value, reflecting the max <meter> attribute.
min double It returns the minimum value, reflecting the min <meter> attribute.
optimum double It returns the optimum value, reflecting the optimum <meter> attribute.
labels NodeList A list of <label> elements that are labels for this element.

Methods

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

Specifications

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'HTMLMeterElement' in that specification.
Living Standard No change from HTML5.
HTML5.1
The definition of 'HTMLMeterElement' in that specification.
Recommendation
HTML5
The definition of 'HTMLMeterElement' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 6.0 (Yes) 16 (16) 10.0 11.0 5.2
labels ? No support No support ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? (Yes) 16.0 (16) ? 11.0 ?
labels ? No support No support ? ? ?

See also

  • The HTML element implementing this interface: <meter>

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement