Easy Tutorial
❮ Att Meter Min Att Hr Noshade ❯

HTML <meter> max Attribute

HTML <meter> Tag

Example

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


Browser Support

Firefox, Opera, Chrome, and Safari 6 support the max attribute of the <meter> tag.


Definition and Usage

The max attribute specifies the upper limit of the gauge.

The value of the max attribute must be greater than the value of the min attribute.

If the max attribute is not specified, the default value is 1.

Tip: The max attribute, along with the min attribute, defines the full range of the gauge.


Differences Between HTML 4.01 and HTML5

The <meter> tag is new in HTML5.


Syntax

Attribute Values

Value Description
number Specifies a floating-point number that represents the maximum value of the gauge. The default value is "1".

❮ Att Meter Min Att Hr Noshade ❯