English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The high attribute specifies the range of gauge values to be considered as high values, the value of the high attribute must be less than the Max attribute value, and it must also be greater than the low attribute and min attribute values.
Current value and minimum, maximum, high and low gauge segments:
<!DOCTYPE html> <html> <head> <title>HTML:<meter> high attribute - 基础教程网(oldtoolbag.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's score: <meter min="0" low="40" high="90" max="100" value="35></meter></p> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
Firefox, Opera, Chrome, and Safari 6 Supports the high attribute of the <meter> tag.
The high attribute specifies the range of values that will be considered high on the gauge.
The high attribute value must be less than the Max attribute value, and it must also be greater than the low attribute and min attribute values.
The <meter> tag is an HTML5 of the new tag.
<meter high="number">
Value | Description |
---|---|
number | Specify a floating-point number that is considered high. |