HTMLMeterElement: high property
HTML DOM
HTML DOM
The **`high`** property of the HTMLMeterElement interface represents the high boundary of the meter element as a floating-point number. It reflects the element's [`high`](/docs/Web/HTML/Reference/Elements/meter#high) attribute, or the value of `max` if not defined. The value of `high` is clamped by the `low` and `max` values.
This property can also be set directly, for example to set a default value based on some condition.
## Value
A number that is not less than HTMLMeterElement.low nor greater than HTMLMeterElement.max.
## Examples
```html
<label for="fuel">Current fuel level:</label>
<meter
id="fuel"
min="0"
max="100"
low="15"
high="66"
optimum="80"
value="50"></meter>
```
```js
const meterElement = document.getElementById("fuel");
console.log(meterElement.high); // 66
++meterElement.high;
console.log(meterElement.high); // 67
```
## Specifications
## Browser compatibility
## See also
- meter
- HTMLMeterElement.value
- HTMLMeterElement.max
- HTMLMeterElement.low
- HTMLProgressElement
Cite this
"HTMLMeterElement: high property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy