jump

HTML: The Markup Language (an HTML language reference)

meterscalar gauge NEW # T

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

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.
value = floating-point number #
The “measured” value shown by meter.
min = floating-point number #
The lower bound of the range for the meter.
low = floating-point number #
The point that marks the upper boundary of the “low” segment of the meter.
high = floating-point number #
The point that marks the lower boundary of the “high” segment of the meter.
max = floating-point number #
The upper bound of the range for the meter.
optimum = floating-point number #
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 double value;
           attribute double min;
           attribute double max;
           attribute double low;
           attribute double high;
           attribute double optimum;
  readonly attribute NodeList labels;
};