Meter highProperty
Examples
Change the value of the high property in the meter:
document.getElementById("myMeter").high="60";
Try it yourself »
Definition and Usage
The high property sets or returns the value of the high attribute in the meter.
The high property specifies the range where the meter's value is considered to be high. This value must be less than the max attribute value, and must be greater than the low and min attribute values.
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the high property, except Internet Explorer.
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
Property Values
| Value | Description |
|---|---|
| number | Specifies a floating-point number that is considered to be high. |
Technical Details
| Return Value: | A number, representing the value considered to be high. |
|---|
More Examples
Example
Return the value of the high property in the meter:
var x = document.getElementById("myMeter").high;
xThe output result is:
95
Try it yourself »
Related Articles
HTML Reference Manual:HTML <meter> high Attribute
Other Extensions
Meter Object