Skip to content
Related Articles

Related Articles

Improve Article

HTML | <meter> high Attribute

  • Last Updated : 01 Jul, 2021

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: 
 

 

  • Google Chrome 8.0 or above
  • Firefox 16.0 or above
  • Opera 11.5 or above
  • Safari 6.0 or above
  • Internet Explorer 13.0

 

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




My Personal Notes arrow_drop_up
Recommended Articles
Page :