This feature is well established and works across many devices and browser versions. It’s been available across browsers since November 2015.
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.
Also inherits properties from its parent, HTMLElement.
HTMLMeterElement.highA double representing the value of the high boundary, reflecting the high attribute.
HTMLMeterElement.lowA double representing the value of the low boundary, reflecting the low attribute.
HTMLMeterElement.maxA double representing the maximum value, reflecting the max attribute.
HTMLMeterElement.minA double representing the minimum value, reflecting the min attribute.
HTMLMeterElement.optimumA double representing the optimum, reflecting the optimum attribute.
HTMLMeterElement.valueA double representing the current value, reflecting the value attribute.
HTMLMeterElement.labels Read only
A NodeList of <label> elements that are associated with the element.
This interface does not implement any specific methods but inherits methods from its parent, HTMLElement.
| Specification |
|---|
| HTML> # htmlmeterelement> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
HTMLMeterElement |
6 | 13 | 16 | 11 | 6 | 18 | 16 | 11 | 6 | 1.0 | 4.4 | 6 |
high |
6 | 13 | 16 | 11 | 6 | 18 | 16 | 11 | 6 | 1.0 | 4.4 | 6 |
labels |
6 | 18 | 56 | ≤12.1 | 6 | 18 | 56 | ≤12.1 | 6 | 1.0 | 4.4 | 6 |
low |
6 | 13 | 16 | 11 | 6 | 18 | 16 | 11 | 6 | 1.0 | 4.4 | 6 |
max |
6 | 13 | 16 | 11 | 6 | 18 | 16 | 11 | 6 | 1.0 | 4.4 | 6 |
min |
6 | 13 | 16 | 11 | 6 | 18 | 16 | 11 | 6 | 1.0 | 4.4 | 6 |
optimum |
6 | 13 | 16 | 11 | 6 | 18 | 16 | 11 | 6 | 1.0 | 4.4 | 6 |
value |
6 | 13 | 16 | 11 | 6 | 18 | 16 | 11 | 6 | 1.0 | 4.4 | 6 |
<meter>
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement