Open In App

HTML <meter> min Attribute

Last Updated : 26 Jul, 2022
Summarize
Comments
Improve
Suggest changes
Share
Like Article
Like
Report

The HTML <meter> min Attribute is used to specify the lower bound of the gauge. The value of the min attribute is always less than the max attribute. It has a default value which is 0. 

Syntax: 

<meter min="number">

Attribute Values: 

  • number: It contains a numeric value which specify the minimum value for the gauge.

Example: This Example illustrates the use of the min attribute in Meter Element. 

html
<!DOCTYPE html>
<html>

<head>
    <title>
      HTML | min attribute
  </title>
</head>

<body style="text-align:center;">
    <h1>
      GeeksforGeeks
  </h1>
    <h2>
      HTML | min Attribute in 
      &lt;meter&gt; 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>min Attribute are listed below:

  • Google Chrome 6
  • Edge 18
  • Firefox 16
  • Opera 11
  • Safari 6

Similar Reads