Compteur
La description qui est inclus dans HTML5 :
The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate.
This is also known as a gauge.
The meter element should not be used to indicate progress (as in a progress bar). For that role, HTML provides a separate progress element.
The meter element also does not represent a scalar value of arbitrary range — for example, it would be wrong to use this to report a weight, or height, unless there is a known maximum value.
Exemples
Description | Min | Low | Value | Max | High | Résultat |
---|---|---|---|---|---|---|
Normal (75%) | 20 | n/a | 65 | 80 | n/a | |
Trop haut (90%) | 0 | n/a | 90 | 100 | 80 | |
Trop bas (15 %) | 100 | 120 | 115 | 200 | 180 |
- Date de modification :