Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

Using the meter element to display a given data range:

<

meter

value

=

"

2

"

min

=

"

0

"

max

=

"

10

"

2 out of 10

meter

<

br

<

meter

value

=

"

0.6

"

60%

meter

Try it »


Browser support

The numbers in the table indicate the version of the first browser that supported the element.

Element
8.0 13.0 6.0 6.0 11.0

Tag Definition and Usage Notes

The tag defines a measurement. It is only for measurements with known minimum and maximum values.

For example: disk usage, relevance of query results, etc.

Note: It cannot be used as a progress bar; for a progress bar, use tag.


Differences between HTML 4.01 and HTML5

which is a new tag in HTML5.


property

New: new attribute in HTML5.

property Value Description
formNew form_id Specifies the one or more forms to which the element belongs.
highNew number Specifies the range of values considered high.
lowNew number Specifies the range of values considered low.
maxNew number Specifies the maximum value of the range.
minNew number Specifies the minimum value of the range.
optimumNew number Specifies the optimal value of the measurement.
valueNew number Required. Specifies the current value of the measurement.

Global Attributes

The tag supports global attributes; see the full list in HTML Global Attributes.


Event attribute

The tag supports all HTML Event Attributes.