HTML CSS examples for HTML Tag:meter
The required value attribute specifies the current value of the gauge.
The value attribute must be between the min and max 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:
<!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>