Open In App

HTML | <meter> high Attribute

Last Updated : 26 Jul, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The HTML high Attribute is used to specify the range where the value of gauge is considered to be of high value. 
The value of the high attribute would be less than the max attribute but more than the min and low attribute values. It can be used with the <meter> Element.
Syntax: 
 

<meter high="number">

Attribute Values: 
 

  • number: It contains the Floating point number which is considered to be a high value. 
     

Example 1: This Example illustrates the use of high attribute in meter Element. 
 

html




<!DOCTYPE html>
<html>
 
<head>
    <title>
        HTML | meter high attribute
    </title>
</head>
 
<body style="text-align:center;">
    <h1 style="color:green;">GeeksforGeeks</h1>
    <h2>HTML | <meter> high Attribute:</h2>
    Sachin's score:
    <meter value="2" min="0" max="10" high="6">
        2 out of 10
    </meter>
    <br>
    Laxman's score:
    <meter value="0.6" max="1.0" min="0" high="0.6">
        60% from 100%
    </meter>
</body>
 
</html>


Output: 
 

Example 2: 
 

html




<!DOCTYPE html>
<html>
 
<head>
    <title>
        HTML | meter high attribute
    </title>
    <style>
        meter {
            width: 400px;
        }
    </style>
</head>
 
<body style="text-align:center;">
    <h1 style="color:green;">GeeksforGeeks</h1>
    <h2>HTML | <meter> high Attribute:</h2>
    <strong>
    Percentage overall site traffic from each channel (%search):
    </strong>
     
 
<p>programiz.com:
        <meter min="0" low="40" high="99" max="100" value="91.8">
        </meter> 91.8%
    </p>
 
 
    <p style="color:green;">geeksforgeeks.org:
        <meter min="0" low="40" high="99" max="100" value="90.7">
        </meter> 90.7%
    </p>
 
 
     
 
<p>tutorialspoint.com:
        <meter min="0" low="40" high="99" max="100" value="88.6">
        </meter> 88.6%
    </p>
 
 
     
 
<p>cplusplus.com:
        <meter min="0" low="40" high="99" max="100" value="86.7">
        </meter> 86.7%
    </p>
 
 
     
 
<p>javatpoint.com:
        <meter min="0" low="40" high="99" max="100" value="79.2">
        </meter> 79.2%
    </p>
 
 
 
</body>
 
</html>


Output: 
 

 Supported Browsers:

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

 



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads