HTMLMeterElement

Our volunteers haven't translated this article into Français yet. Join us and help get the job done!
You can also read the article in English (US).

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 ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? (Yes) 16.0 (16) ? 11.0 ?
labels ? ? No support ? ? ?

See also

  • The HTML element implementing this interface: <meter>

Étiquettes et contributeurs liés au document

 Contributeurs à cette page : libbymc, cecchi, fscholz, Nexii, teoli, kscarfone, Sheppy, Jeremie
 Dernière mise à jour par : libbymc,