XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / meter
(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
meter
HTML 5 |
<meter> ... </meter>
Defines a fractional value or a value on a scale within a known range. It should not be used for progress indicators or when the maximum value is unknown.
Notes
HTML 5 only.
Start/end tag
Required/required
Attributes
high="Zahl"Specifies a value considered high within the measurement range.
low="Zahl"Specifies a value considered low within the measurement range.
max="Zahl"Specifies the maximum value of the range.
min="Zahl"Specifies the minimum value of the range.
optimum="Zahl"Specifies a value within the range considered optimal.
value="Zahl"Specifies the current or measured value within the range.
Examples
The following examples show three ways to display a measured value of 50%:
<meter>50%</meter> <meter min="0" max="200">100</meter> <meter min="0" max="200" value="100"></meter>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de