meter optimum Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:meter

Description

The optimum attribute sets the range to be considered as an optimal value.

Attribute Values

Value Description
number Specifies a floating point number that is the optimal value of the gauge

The following code shows how to create a meter with an optimal value of 0.5:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<p>Display a gauge:</p>
<p><meter value="0.3" high="0.9" low="0.1" optimum="0.5"></meter></p>
</body><!--  www. jav a  2 s .co  m-->
</html>

Related Tutorials