HTML | <meter> name Attribute
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 > w3wiki </ h1 > < h2 > HTML | Meter name Attribute </ h2 > Sachin's score: < meter value = "5" min = "0" name = "Beginner2" max = "10" high = "6" > 5 out of 10 </ meter > < br >Laxma sxore: < meter value = "0.5" max = "1.0" name = "Beginner3" 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