HTMLMeterElement
The interface for <meter>. Extends HTMLElement → Element.
Reflected properties
All setters are guarded and throw NoModificationAllowedError on a read-only document.
| Property | Attribute | Type | Notes |
|---|---|---|---|
value |
value |
number, read/write | Unset → 0; clamped to [min, max]. |
min |
min |
number, read/write | Unset → 0. |
max |
max |
number, read/write | Unset → 1, and never below min. |
low |
low |
number, read/write | Unset → min; clamped to [min, max]. |
high |
high |
number, read/write | Unset → max; clamped to [low, max]. |
optimum |
optimum |
number, read/write | Unset → the midpoint of min and max; clamped to [min, max]. |
See also
- Element —
getAttribute/setAttribute, content,classList, traversal, insertion - HTMLElement — the global reflected properties every HTML element inherits
- JavaScript DOM API — the interface hierarchy and
instanceof