HTML <meter> optimum Attribute
Definition and Usage
optimum
The attribute specifies the range considered to be the optimal value for the gauge 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>
Syntax
<meter optimum="number">
Attribute Value
Value | Description |
---|---|
number | Specifies a floating-point number as the optimal value for the gauge. |
Browser Support
The numbers in the table indicate the first browser version to fully support this attribute.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
8.0 | 13.0 | 16.0 | 6.0 | 11.5 |