HTML <meter> optimum attribute

Definition and usage

optimum The attribute specifies the range in which the gauge value is considered to be the optimal value.

Example

Gauge with an optimal value of 0.5:

<p><label for="num1">Value:</label>
<meter id="num1" value="0.3" high="0.9" low="0.1" optimum="0.5"></meter></p>

Try it yourself

Syntax

<meter optimum="number">

Attribute value

Value Description
number Specifies the floating-point number as the best value of the gauge.

Browser support

The numbers in the table indicate the first browser version that fully supports this attribute.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
8.0 13.0 16.0 6.0 11.5