HTML <meter> min Attribute
Definition and Usage
min
Property specifies the lower limit of the instrument.
min
The property value must be less than max Property value.
If not specified, the default value is 0.
Tip:min
Property corresponds to max Properties together define the full range of the instrument.
Example
Instrument with current value and minimum, maximum, high, and low values:
<p><label for="anna">Xiao Ming'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 min="number">
Attribute Value
Value | Description |
---|---|
number | Specifies a floating-point number as the minimum value of the gauge. The default value is 0. |
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 |