HTML <meter> min attribute

Definition and usage

min Property specifies the lower limit of the gauge.

min The property value must be less than max Property value.

If not specified, the default value is 0.

Hint:min Property corresponds to max Properties together define the full range of the gauge.

Example

Gauge 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>

Try It Yourself

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 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