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

HTML meter value Attribute

HTML value attribute

HTML meter Tag Reference HTML tag

Example

A gauge with a current value and min, max, high, and low values:

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Supported by Firefox, Opera, Chrome, and Safari 6 The value attribute of the tag.


Definition and Usage

The value attribute is required and specifies the current value of the gauge.

The value of the value attribute must be between the values of the min and max attributes.


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.


Syntax

Attribute values

Value Description
number Required. Specifies a floating-point number representing the current value of the gauge.

HTML meter Tag Reference HTML tag