HTML 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>
Meaning
The 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
<element optimum="number">
Browser Support
Status
Applies to:
The optimum attribute can be used on the following element:
Attribute Values
Value | Description |
---|---|
number | Specifies a floating number. |