HTML <meter> high attribute
Definition and usage
high
Attribute defines the range of instrument values considered as high.
high
Attribute values must be less than max Attribute values must be greater than low and min Attribute values.
Example
Instrument with current value and minimum, maximum, high, and low values:
<p><label for="anna">Xiaoming's score:</label> <meter id="anna" min="0" low="40" high="90" max="100" value="95"></meter></p> <p><label for="peter">Xiaomei's score:</label> <meter id="peter" min="0" low="40" high="90" max="100" value="65"></meter></p> <p><label for="linda">Xiaofeng's score:</label> <meter id="linda" min="0" low="40" high="90" max="100" value="35"></meter></p>
Syntax
<meter high="number">
Attribute value
Value | Description |
---|---|
number | The value is considered as a floating-point number representing a high value. |
Browser support
The numbers in the table indicate the first browser version to fully support this attribute.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
8.0 | 13.0 | 16.0 | 6.0 | 11.5 |