HTML: The Markup Language

meterscalar gauge NEW # T

The meter element represents a scalar gauge providing a measurement within a known range, or a fractional value.

Permitted content #

Permitted attributes #

Descriptions for attributes specific to this element #

value = float
The “measured” value shown by meter.
min = float
The lower bound of the range for the meter.
low = float
The point that marks the upper boundary of the “low” segment of the meter.
high = float
The point that marks the lower boundary of the “high” segment of the meter.
max = float
The upper bound of the range for the meter.
optimum = float
The point that marks the “optimum” position for the meter.

Additional constraints and admonitions #

Tag omission #

A meter element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements

DOM interface #

interface HTMLMeterElement : HTMLElement {
           attribute float value;
           attribute float min;
           attribute float max;
           attribute float low;
           attribute float high;
           attribute float optimum;
  readonly attribute HTMLFormElement form;
  readonly attribute NodeList labels;
};