Advertisement
Home Open Editor ❯

HTML <meter> optimum Attribute

Example

<p><label for="score">Your score:</label>
<meter id="score" value="0.3" high="0.9" low="0.1" optimum="05"></meter></p>

Try this code ❯

Meaning

optimum attribute holds a float value that indicates the optimum range of the measurement.

Note: Value must be within the range (as defined by the min attribute and max attribute). When used with the low attribute and high attribute, it gives an indication where along the range is considered preferable.


Standard Syntax

<meter value="number" optimum="number">...</meter>


Advertisement

Attribute Values

Value Description
number Specifies a floating number.
Home Open Editor ❯
Advertisement