Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML meter max Attribute

HTML max property

HTML meter Tag Reference HTML tag

Example

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

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Supported by Firefox, Opera, Chrome, and Safari 6 max attribute of the tag.


Definition and Usage

The max attribute specifies the upper bound 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 property together with the min property specifies the complete range of the meter.


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.


Syntax

Attribute values

Value Description
number Specifies a floating-point number representing the maximum value of the meter. The default value is "1".

HTML meter Tag Reference HTML tag