HTML DOM Meter Object
<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]-->
HTML DOM Meter Object
❮ Previous
Next ❯
Meter Object 
The Meter Object is new in HTML5.
The Meter object represents an HTML <meter> element.
Note: The <meter> element is not supported in Internet Explorer
/ Edge or Safari 5 (and earlier versions).
Access a Meter Object
You can access a <meter> element by using getElementById():
Example
var x = document.getElementById("myMeter");Try it Yourself »
Create a Meter Object
You can create a <meter> element by using the document.createElement() method:
Example
var x = document.createElement("METER");
Try it Yourself »
Meter Object Properties
| Property | Description |
|---|---|
| high | Sets or returns the value of the high attribute in a gauge |
| labels | Returns a list of <label> elements that are labels for the gauge |
| low | Sets or returns the value of the low attribute in a gauge |
| max | Sets or returns the value of the max attribute in a gauge |
| min | Sets or returns the value of the min attribute in a gauge |
| optimum | Sets or returns the value of the optimum attribute in a gauge |
| value | Sets or returns the value of the value attribute in a gauge |
Standard Properties and Events
The Meter object also supports the standard properties and events.
Related Pages
HTML reference: HTML <meter> tag
❮ Previous
Next ❯