Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

HTML | <meter> max Attribute

  • Last Updated : 25 Apr, 2019

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.


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

<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  
      <meter> 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
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

My Personal Notes arrow_drop_up
Recommended Articles
Page :