English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML meter min 属性
在线示例
示例 <!DOCTYPE html> <html> <head> - <title>HTML:<meter> min 属性3codebox.com)</title> </head> <body> <p>Display a gauge:</p> <p>Anna's score: <meter min="0" low="40" high="90" max="100" value="95></meter></p> <p>Peter's score: <meter min="0" low="40" high="90" max="100" value="65></meter></p> <p>Linda&39;s score: <meter min="0" low="40" high="90" max="100" value="35></meter></p> </body> </html>Test to see ‹/›
IEFirefoxOperaChromeSafari
Firefox, Opera, Chrome and Safari 6 Supports the min attribute of the <meter> tag.
The min attribute specifies the lower limit of the gauge.
The value of the min attribute must be less than the value of the max attribute.
If not specified, the default value is 0.
Hint: The min attribute and max attribute together specify the entire range of the gauge. If not specified, the default value is 0.
The <meter> tag is an HTML5 of the new tag.
<meter min="number">
Value | Description |
---|---|
number | Specify a floating-point number, which is the minimum value of the gauge. The default value is '0'. |