Latest web development tutorials

HTML meter max attributes

Tag Reference HTML meter HTML <meter> tag

Examples

With a measure of the current value and the min, max, high, low value:

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

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Firefox, Opera, Chrome and Safari 6 Support <meter> tag max attributes.


Definition and Usage

max attribute specifies the metric limit.

Max value of the property must be greater than the value of property min.

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

Tip: max and min attribute specifies the property along with the full range of measurement.


Differences between HTML 4.01 and HTML5

<Meter> tag is new in HTML5 tags.


grammar

<meter max="number">

Property Value

描述
number 规定一个表示度量的最大值的浮点数。默认值是 "1"。


Tag Reference HTML meter HTML <meter> tag