codescracker


html

HTML METER Tag



« Previous Tutorial Next Tutorial »


The METER tag is used to define the scalar measurement. This tag is mostly useful when you need to display the disk usage and the relevance of a search result, or to show some other measurement.

You cannot use the METER tag to display a single number as it is used to display a range.

METER Tag Example

Following are the two examples of the METER tag.

<METER min="50" max="165">72</METER>
<METER>200 from 500</METER>

Here, in the first example, we have used the min and max attributes of the METER tag to specify the minimum and maximum values for the tag. This implies that you cannot define the value of the METER tag less than 0 and more than 10. And in the second example, we have displayed the tag without any attribute.

METER Tag Attributes

The following table describes attributes used within the METER tag.

Attribute Description
value Specifies the value of the METER tag
min Specifies the minimum value of the METER tag
max Specifies the maximum value of the METER tag
low Specifies a range which is considered as low value
high Specifies a range which is considered as high value
optimum Specifies a range which is considered as the optimum or the best value
form Refers to the id of the FORM tag

« Previous Tutorial Next Tutorial »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test