HTML <meter> min Attribute

The min attribute on a <meter> tag sets the minumum value for the element. The min value must be less than the max value.

Example

#

A min attribute on a <meter> element.
The value of this meter must be at least the minimum value specified.

Pressure reading

14/25
<div>Pressure reading</div>

<br />
<meter min="1" max="25" value="14">14/25</meter>

Using min

The min attribute specifies the lower bound or starting value of the gauge.

The value of the <min attribute must be less than the max attribute.

If not set, the meter element will use 0 as minimum value.


Syntax

<meter min="number">

Values

#

Value Description
number Minimum value. Default is 0.

Browser support

Here is when min support started for each browser:

Chrome
8.0 Dec 2010
Firefox
16.0 Oct 2012
IE/Edge
13.0 Nov 2015
Opera
11.5 May 2011
Safari
6.0 Jul 2012

You may also like

 Back to <meter>
Guides