meter min Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:meter

Description

The min attribute specifies the lower bound of the gauge which must be less than the max attribute value.

If unspecified, the default value is 0.

Attribute Values

Value Description
number Specifies a floating point number that is the minimum value of the gauge. Default value is "0"

The following code shows how to create a meter with a current value and min, max, high, and low segments:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<p>Display a gauge:</p>
<p>score: <meter min="0" low="40" high="90" max="100" value="95"></meter></p>
</body><!--from  www.ja  v a2  s.  c  om-->
</html>

Related Tutorials