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

Also inherits properties from its parent, HTMLElement.

HTMLMeterElement.high
A double representing the value of the high boundary, reflecting the high attribute.
HTMLMeterElement.low
A double representing the value of the low boundary, reflecting the lowattribute.
HTMLMeterElement.max
A double representing the maximum value, reflecting the max attribute.
HTMLMeterElement.min
A double representing the minimum value, reflecting the min attribute.
HTMLMeterElement.optimum
A double representing the optimum, reflecting the optimum attribute.
HTMLMeterElement.value
A double representing the currrent value, reflecting the value attribute.
HTMLMeterElement.labelsRead only
A NodeList of <label> elements that are associated with the element.

Methods

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

Specifications

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

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
HTMLMeterElementChrome Full support 6Edge Full support 12Firefox Full support 16IE Full support 10Opera Full support 11Safari Full support 5WebView Android ? Chrome Android ? Firefox Android Full support 16Opera Android Full support 11Safari iOS ? Samsung Internet Android ?
highChrome Full support 6Edge Full support 13Firefox Full support 16IE Full support 10Opera Full support 11Safari Full support 5WebView Android ? Chrome Android ? Firefox Android Full support 16Opera Android Full support 11Safari iOS ? Samsung Internet Android ?
labelsChrome Full support YesEdge Full support 18Firefox Full support 56IE ? Opera Full support YesSafari Full support YesWebView Android ? Chrome Android ? Firefox Android Full support 56Opera Android ? Safari iOS ? Samsung Internet Android ?
lowChrome Full support 6Edge Full support 13Firefox Full support 16IE Full support 10Opera Full support 11Safari Full support 5WebView Android ? Chrome Android ? Firefox Android Full support 16Opera Android Full support 11Safari iOS ? Samsung Internet Android ?
maxChrome Full support 6Edge Full support 13Firefox Full support 16IE Full support 10Opera Full support 11Safari Full support 5WebView Android ? Chrome Android ? Firefox Android Full support 16Opera Android Full support 11Safari iOS ? Samsung Internet Android ?
minChrome Full support 6Edge Full support 13Firefox Full support 16IE Full support 10Opera Full support 11Safari Full support 5WebView Android ? Chrome Android ? Firefox Android Full support 16Opera Android Full support 11Safari iOS ? Samsung Internet Android ?
optimumChrome Full support 6Edge Full support 13Firefox Full support 16IE Full support 10Opera Full support 11Safari Full support 5WebView Android ? Chrome Android ? Firefox Android Full support 16Opera Android Full support 11Safari iOS ? Samsung Internet Android ?
valueChrome Full support 6Edge Full support 13Firefox Full support 16IE Full support 10Opera Full support 11Safari Full support 5WebView Android ? Chrome Android ? Firefox Android Full support 16Opera Android Full support 11Safari iOS ? Samsung Internet Android ?

Legend

Full support
Full support
Compatibility unknown
Compatibility unknown

See also

  • The HTML element implementing this interface: <meter>