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.
Working Draft  
HTML5
The definition of 'HTMLMeterElement' in that specification.
Recommendation Initial definition.

Browser compatibility

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

See also

  • The HTML element implementing this interface: <meter>

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/htmlmeterelement

API HTML DOM HTMLMeterElement Interface NeedsNewLayout Reference Référence