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

NameTypeDescription
optimumfloating-point numberIndicates 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>
HTML Reference