HTML | optimum Attribute
The optimum attribute in HTML indicates the optimal numeric value for the gauge. It must be within the range i.e between min and max. When it is used with the low and high attribute, it gives an indication where along the range is considered preferable.
Usage: It is used with the <meter> element.
Syntax:
<meter optimum = "value"></meter>
Example:
<!DOCTYPE html> <html> <head> <title>HTML optimum Attribute</title> </head> <body> <h2 style = "color: green;"> HTML optimum Attribute </h2> <p> optimum value below low and high: <meter value="0.6" max="0.9" min="0.1" optimum="0.1" high = "0.5" low = "0.2"> </meter> </p> <p> optimum value between low and high: <meter value="0.6" max="0.9" min="0.1" optimum="0.4" high = "0.5" low = "0.2"> </meter> </p> <p> optimum value above low and high: <meter value="0.6" max="0.9" min="0.1" optimum="0.6" high = "0.5" low = "0.2"> </meter> </p> </body> </html> |

Supported Browsers: The browser supported by optimum attribute are listed below:
- Google Chrome 8.0
- Firefox 6.0
- Opera 11.0
- Safari 6.0
Recommended Posts:
- HTML | DOM Meter optimum Property
- Optimum way to compare strings in JavaScript
- HTML | for Attribute
- HTML | min Attribute
- HTML | <map> name Attribute
- HTML | value Attribute
- HTML | <li> value Attribute
- HTML | low Attribute
- HTML | dir Attribute
- HTML | <img> alt Attribute
- HTML | <a> rel Attribute
- HTML | <img> src Attribute
- HTML | <object> name Attribute
- HTML | form Attribute
- HTML | muted Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



