meter value Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:meter

Description

The required value attribute specifies the current value of the gauge.

The value attribute must be between the min and max attribute values.

Attribute Values

Value Description
number Required. Specifies a floating point number that is the current value of the gauge

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 w  w w  . j  a  va  2  s. co m-->
</html>

Related Tutorials