HTML Attributes
HTML optimum attribute
Indicates the preferred measurement in a meter. The location relative to low and high determines which ranges are considered more desirable. Applicable elements include: <meter>. Check each element’s value rules.
Formal Syntax & Structure
html syntaxhtml
optimum="100"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| optimum | floating-point number | Indicates the preferred measurement in a meter. The location relative to low and high determines which ranges are considered more desirable. |
Working Example
Example Snippethtml
<label> Battery <meter min="0" max="100" low="20" high="80" optimum="100" value="90">90%</meter></label>