Html 5 Meter Tag

The <meter> tag was introduced in HTML 5.The <meter> tag is used to size with know minimum and maximum value. The <meter> tag did not exist in older versions of HTML.The <meter> tag should not be used as a progress bar.


<meter min="..." max="...">... </meter>

Example Code

<p>Your score is: <meter>2 out of 10 </meter></p>

Out Put :

Your score is: 2 out of 10

In the above example mater tag is used to update for person score. In the min attribute is use to give to minimum value and max attribute is used to give to maximum attribute value.

Meter Tag Attributes: