English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Das Attribut max legt das obere Limit des Meters fest, der Wert von max muss größer als der Wert von min sein. Wenn nicht angegeben, ist der Standardwert1。
A gauge with current value and min, max, high, low values:
<meter min="0" low="40" high="90" max="100" value="95></meter>Test it out ‹/›
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。
Hint: 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 that is the maximum value of the gauge. The default value is “ 1。 |