HTML <meter> Tag
<meter>tag is used for indicating a scalar measurement within a known range, or a fractional value.
Also known as a gauge, usage could include displaying disk usage, the amount raised during fundraising activities, or the relevance of a search query result.
- Example Code:
<p>Average Review: <meter value="3" min="0" max="10">3 out of 10</meter> 3/10</p> <p>Site Completion: <meter value="0.7">70%</meter> 70%</p>
3 out of 103/10
Attribute Definition form Specifies one or more forms the [meter] element belongs to high Specifies the range that is considered to be a high value low Specifies the range that is considered to be a low value max Specifies the maximum value of the range min Specifies the minimum value of the range optimum Specifies what value is the optimal value for the gauge value Required. Specifies the current value of the gauge
- Global Attributes:
<meter>tag also supports the Global Attributes in HTML5
- Event Attributes:
<meter>tag also supports the Event Attributes in HTML5