Open In App
Related Articles

HTML | <meter> max Attribute

Improve Article
Save Article
Like Article

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. 


<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 | max attribute
<body style="text-align:center;">
      HTML | max Attribute in 
      &lt;meter&gt; Tag
  </h2> Sachin's score:
    <meter value="5"
        5 out of 10
    <br>Laxma sxore:
    <meter value="0.5"
        50% from 100%



Supported Browsers: The browser supported by HTML | <meter>max Attribute are listed below:

  • Google Chrome 6
  • Edge 18
  • Firefox 16
  • Opera 11
  • Safari 6
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 26 Jul, 2022
Like Article
Save Article
Similar Reads
Related Tutorials