HTMLMeterElement: min property - Web APIs | MDN

Value

A number.

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.min); // 0
++meterElement.min;
console.log(meterElement.min); // 1

Specifications

Specification
HTML
# dom-meter-min

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.