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

HTML DOM Meter high Property

Meter high Property

Meter Object Reference Meter Object

Example

Change the value of the high property in the meter:

document.getElementById("myMeter").high="60";

Try it »


Definition and Usage

The high property sets or returns the value of the high attribute of the meter element.

The high property specifies the range in which the meter value is considered high. This value must be less than the max property value and greater than the low and min property values.


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers except Internet Explorer support the high property.

**Note:** Safari 5 and earlier versions do not support the high property.


Syntax

Return the high property:

meterObject

.high

Set the high property:

meterObject

.high=

number

Attribute values

Value Description
number Specifies a floating-point number classified as a high value.

Technical Details

Return Value: Number, a floating-point number classified as a high value.

More examples

Example

Return the value of the high property of the meter:

var x = document.getElementById("myMeter").high;

x The output is:

95

Try it »


Related Articles

HTML Reference Manual:HTML high property


Meter Object Reference Meter Object