Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. HTMLMeterElement
  4. low

HTMLMeterElement: low property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨November 2015⁩.

Thelow property of theHTMLMeterElement interface represents the low boundary of the<meter> element as a floating-point number. It reflects the element'slow attribute, or the value ofmin if not defined. The value oflow is clamped by themin andmax 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 thanHTMLMeterElement.min nor greater thanHTMLMeterElement.max.

Examples

html
<label for="fuel">Current fuel level:</label><meter   min="0"  max="100"  low="15"  high="66"  optimum="80"  value="50"></meter>
js
const meterElement = document.getElementById("fuel");console.log(meterElement.low); // 15--meterElement.low;console.log(meterElement.low); // 14

Specifications

Specification
HTML
# dom-meter-low

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp