Skip to content
Related Articles

Related Articles

Improve Article

HTML | <meter> name Attribute

  • Last Updated : 28 Oct, 2020

The HTML <meter> name Attribute is used to specify the name attribute of meter element. It is used to reference the form-data after submitting the form or to reference the element in a JavaScript.
Syntax:

<meter name="name">

Attribute Values: It contains a single value name which describes the name of the meter element.

Example: 




<!DOCTYPE html> 
<html
  
<head
    <title
        HTML | meter name attribute 
    </title
</head
  
<body style="text-align:center;"
    <h1
        GeeksforGeeks 
    </h1
      
    <h2
        HTML | Meter name Attribute
    </h2>
      
    Sachin's score: 
    <meter value="5" min="0" name="geeks2"
                max="10" high="6"
        5 out of 10 
    </meter
  
    <br>Laxma sxore: 
    <meter value="0.5" max="1.0" name="geeks3"
            min="0" high="0.6"
        50% from 100% 
    </meter
</body
  
</html>

Output: 
 

Supported Browsers: The browser supported by HTML <meter> name attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera

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 :