Categories
HTML Web development

HTML optimum Attribute



HTML optimum Attribute

The HTML optimum attribute defines the range where the gauge’s value is considered to be an optimal value.

The HTML optimum attribute can be used on the <meter> element.

Example:

<!DOCTYPE html>
<html>
<body>

<p><label for="o-val">The meter optimum attribute:</label>
<meter id="o-val" value="65" high="90" low="10" min="0" max="100" optimum="50"></meter></p>

</body>
</html>

Output:

Enjoy coding!

Read also:

HTML dir Attribute

HTML height Attribute

HTML srcset Attribute