The optimum attribute on a <meter> tag sets the optimal value of the meter element.
The optimum is considered to be the ideal value.
A optimum attribute on a <meter>.
The gauge has a specfied optimum (ideal) value.
<div>Pressure reading</div>
<br />
<meter min="1" max="10" value="7" optimum="5">7/10</meter>
The optimum attribute specifies the optimal value of the gauge.
This value must be within the range of min and max attributes.
The optimum value is the preferred or most desirable value.
<meter optimum="number">
| Value | Description |
|---|---|
| number | A whole or floating point number. |
Here is when optimum support started for each browser:
![]() Chrome
|
8.0 | Dec 2010 |
![]() Firefox
|
16.0 | Oct 2012 |
![]() IE/Edge
|
13.0 | Nov 2015 |
![]() Opera
|
11.5 | May 2011 |
![]() Safari
|
6.0 | Jul 2012 |