VOOZH about

URL: https://www.geeksforgeeks.org/html/html-meter-max-attribute/

⇱ HTML | <meter> max Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML | <meter> max Attribute

Last Updated : 26 Jul, 2022

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. 

Output:

 👁 Image
 

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

  • Google Chrome 6
  • Edge 18
  • Firefox 16
  • Opera 11
  • Safari 6
Comment
Article Tags: