THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <meter> value Attribute

❮ HTML <meter> tag

Example

A gauge with a current value and min, max, high, and low segments:

<meter min="0" low="40" high="90" max="100" value="95"></meter>
Try it Yourself »

Definition and Usage

The required value attribute specifies the current, or "measured", value of the gauge.

The value attribute must be between the min and max attribute values.


Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

Attribute
value 8.0 Not supported 6.0 6.0 11.0

Differences Between HTML 4.01 and HTML5

The <meter> tag is new in HTML5.


Syntax

<meter value="number">

Attribute Values

Value Description
number Required. Specifies a floating point number that is the current value of the gauge

❮ HTML <meter> tag