IT. Expert System.

HTML

meter


Tag Description

The meter tag is used to define a measurement with a known minimum and maximum value.

This element could be used to display the meter of a time consuming function in JavaScript.

This tag has the form:

<meter
  high="number" low="number"
  max="number" min="number"
  optimum="number"
  value="number">
</meter>

Note: The range of the measurement must be defined, either in the element's text or with the min/max attributes.

HTML5 and HTML4.01 Differences

This tag is new for HTML5.

Attributes

Attribute Value Description
form form_id Specifies one or more forms the <meter> element belongs to
high number Specifies at which point the measurement's value is consider a high value
low number Specifies at which point the measurement's value is consider a low value
max number Specifies the maximum value (default = 1)
min number Specifies the minimum value (default = 0)
optimum number Specifies what measurement value is the best value. If this value is higher then the "high" attribute's value, it means that the higher value the better. If this value is lower than the "low" attribute's value, it means that the lower value the better
value number Specifies the current value of the meter (must be less than or equal to the value of the max attribute or less than or equal to one if the max attribute is not specified)

Global Attributes

This tag also supports the HTML Global Attributes.

Event Attributes

This tag also supports the HTML Event Attributes.

Examples

The following examples show the basic use of this tag:

Example 1

<meter value="3" min="0" max="10">3 out of 10</meter>

This produces the following result:

3 out of 10

Example 2

<meter value="0.7">70%</meter>

This produces the following result:

70%

Browser Support

Chrome Firefox IE Safari Opera
8.0 6.0 6.0 11.0

Doctype Declaration Support

The following table lists the doctype declarations this element may appear in:

HTML4.01 / XHTML1.0 XHTML 1.1 HTML 5
Traditional Strict Frameset

Miscellaneous Information

Defined In: HTML5
Empty Tag: No


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2827 / . Delta: 0.03310 с