This page shows examples of the “meter” and “progress” tags.
The meter tag is a inline element. It is used to indicate a measure within a given range. ⁖ disk usage, percentage. Here's a example:
HTML Code:
<p><meter value="0.7">70%</meter></p>
Here's what your browser shows:
<p><meter value="3" min="0" max="5">★★★</meter></p>
The “meter” tag should not be used to indicate progress (as in a progress bar).
As of today (2011-07), it is supported by Google Chrome, Opera.
It is currently not supported by Firefox, IE9, Safari.
http://dev.w3.org/html5/spec-author-view/the-meter-element.html#the-meter-element
The “progress” tag is used for a progress bar. ⁖ download completion, etc.
<p><progress value="0.3"></progress></p>
Your browser shows:
<p><progress value="4" max="10"></progress></p>
Your browser shows:
As of today (2011-07), it is supported by Google Chrome, Opera.
It is currently not supported by Firefox, IE9, Safari.
http://dev.w3.org/html5/spec-author-view/the-progress-element.html#the-progress-element
Back to HTML5 Tags.