Easy Tutorial
❮ Prop Week Required Jsref Pow ❯

HTML DOM Meter Object


Meter Object

The Meter object represents an HTML <meter> element.

Accessing a Meter Object

You can use getElementById() to access a <meter> element:

Creating a Meter Object

You can use the document.createElement() method to create a <meter> element:

Meter Object Properties

Property Description
high Sets or returns the value of the high attribute in the gauge.
labels Returns a list of <label> elements for the gauge.
low Sets or returns the value of the low attribute in the gauge.
max Sets or returns the value of the max attribute in the gauge.
min Sets or returns the value of the min attribute in the gauge.
optimum Sets or returns the value of the optimum attribute in the gauge.
value Sets or returns the value of the value attribute in the gauge.

Standard Attributes and Events

The Meter object also supports standard attributes and events.


Related Articles

HTML Reference: HTML <meter> Tag

❮ Prop Week Required Jsref Pow ❯