Meter high attribute

Definition and usage

high Attribute setting or returning the value of High attribute value.

The high attribute specifies the range of values considered to be high for the meter. The value must be less than max attribute value, and greater than low and min Attribute value.

See also:

HTML Reference Manual:HTML <meter> high Attribute

HTML Reference Manual:HTML <meter> Tag

Instance

Example 1

Change the value of the high attribute in the meter:

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

Try it yourself

Example 2

Return the value of the high attribute in the meter:

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

Try it yourself

Syntax

Return the high attribute:

meterObject.high

Set the high attribute:

meterObject.high = number

attribute value

value description
number The floating-point number is considered to be of high value.

Technical Details

Return Value: Value, represented as a floating-point number considered high.

Browser Support

The numbers in the table indicate the first browser version that fully supports this attribute.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Not Supported Support 6.0 Support