English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The 'max' attribute specifies the upper limit of the gauge, the value of the 'max' attribute must be greater than the 'min' attribute value, if not specified, the default value is1
A gauge with current value and min, max, high, low values:
<meter min="0" low="40" high="90" max="100" value="95></meter>Test and see ‹/›
IEFirefoxOperaChromeSafari
Firefox, Opera, Chrome, and Safari 6 Supports the max attribute of the <meter> tag.
The max attribute specifies the upper limit of the gauge.
The max attribute value must be greater than the min attribute value.
If not specified, the default value is1
Tip: The max attribute and the min attribute together specify the entire range of the gauge.
The <meter> tag is an HTML5 in the new tag.
<meter max="number">
Value | Description |
---|---|
number | Specify a floating-point number, which is the maximum value of the gauge. The default value is “ 1 |