Pr.Pg Next Pg

<METER>..</METER> tag tutorials

  • The <METER> tag defines a scalar measurement within a known range, or a fractional value. This is also known as a gauge.

  • Examples: Disk usage, the relevance of a query result, etc.

  • The <METER> tag is supported in Firefox, Opera, Chrome, and Safari 6.

  • NOTE: The <METER> tag should not be used to indicate progress (as in a progress bar). For progress bars, use the <PROGRESS> tag.

  • The below table shows the attribute of <METER> tag:

 

Sr No

Attributes

Descriptions

1

FORM

This attribute specify one or more forms the <meter> element belongs to.

2

HIGH

This attribute specify the range that is considered to be a high value.

3

low

This attribute holds a float value that indicates the low range of the measurement.

4

max

This attribute holds a float value that indicates the maximum range of the measurement.

5

min

This attribute holds a float value that indicates the minimum range of the measurement.

6

optimum

This attribute holds a float value that indicates the optimum range of the measurement.

7

value

This attribute holds a float value that indicates the current value of the measurement.

 

Syntax:

<body>

<meter>some text</meter>

</body>

 

Example: HTML program to demonstrate meter element

Output:
Pr.Pg border                                              Next Pg