HTML | <meter> max Attribute
The max Attribute in <meter> element is used to specify the upper bound of the gauge. The value of the max attribute must be greater than the min attribute. It has a default value which is 1.
Syntax:
<meter max="number">
Attribute Values: It contains the value i.e number which specifies the maximum value of the gauge.
Example: this Example illustrates the use of max attribute in meter Element.
<!DOCTYPE html> <html> <head> <title> HTML | max attribute </title> </head> <body style="text-align:center;"> <h1> GeeksforGeeks </h1> <h2> HTML | max Attribute in <meter> Tag </h2> Sachin's score: <meter value="5" min="0" max="10" high="6"> 5 out of 10 </meter> <br>Laxma sxore: <meter value="0.5" max="1.0" min="0" high="0.6"> 50% from 100% </meter> </body> </html> |
Output:

Supported Browsers: The browser supported by HTML | <meter>max Attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Opera
- Safari
Recommended Posts:
- HTML | <img> alt Attribute
- HTML | dir Attribute
- HTML | for Attribute
- HTML | min Attribute
- HTML | <map> name Attribute
- HTML | low Attribute
- HTML | <img> src Attribute
- HTML | <a> rel Attribute
- HTML | value Attribute
- HTML | <li> value Attribute
- HTML | enctype Attribute
- HTML | onkeypress Attribute
- HTML | onscroll Attribute
- HTML | pattern Attribute
- HTML | readonly 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.



