HTML <meter> high attribute
Definition and usage
high
Attribute defines the range in which the instrument value is considered 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 | Specifies a floating-point number considered high. |
Browser Support
The numbers in the table indicate the first browser version that fully supports this attribute.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
8.0 | 13.0 | 16.0 | 6.0 | 11.5 |