HTML <meter> minAttribute

HTML meter 标签参考手册HTML <meter> Tag

Example

A gauge with the current value and min, max, high, low values:

<meter min="0" low="40" high="90" max="100" value="95"></meter>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Firefox, Opera, Chrome, and Safari 6 support the min attribute of the <meter> tag.


Definition and Usage

The min attribute specifies the lower bound of the gauge.

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

If the value of the min attribute is not specified, the default value is 0.

Tip:The min attribute, together with the max attribute, specifies the full range of the gauge.


Differences between HTML 4.01 and HTML5

The <meter> tag is new in HTML5.


Syntax

<meter min="number">

Attribute Values

Value Description
number Specifies a floating-point number representing the minimum value of the gauge. The default value is "0".


HTML meter 标签参考手册HTML <meter> Tag Other Extensions