<meter>: The METER Element

Last updated: 2026-10-13

<meter>The METER Element

Shows a known measurement within a range (min–max), e.g. disk usage, rating, temperature. Not for indeterminate task progress—use <progress>.

CategoryForms
Content ModelFlow content
Allowed ParentsAny element that accepts flow content
Content TagYes — requires closing </meter> tag
StatusStandard

📝 Syntax

<meter value="0.6" min="0" max="1">60%</meter>

⚙️ Attributes

This element supports the global attributes plus the following:

AttributeValueDescription
valueThe current measured value (required).
minLower bound of the range, default 0.
maxUpper bound of the range, default 1.
lowThe 'low' threshold.
highThe 'high' threshold.
optimumThe optimal value, affecting color hints.

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
<meter> ✓ v1 ✓ v12 ✓ v1 ✓ v1 ✓ v1
Supported in all major browsers
Tip: meter is for fixed-range measurements; for unknown progress use <progress>.

❓ FAQ

QWhat is the difference between meter and progress?
A<meter> shows a static measured value within a known range (65% disk usage, a 4.2/5 rating) with the semantic bands min/max/low/high/optimum; <progress> shows task completion only. Ratings and shares use meter; loading and uploading use progress.
QHow do the low, high, and optimum attributes work on meter?
AWithin the min-max range they define quality bands: low/high set the warning zones and optimum marks which band is best. The browser colors the gauge (green/yellow/red) accordingly — e.g. 36-37°C optimal, deviations warned.
QCan meter contain content?
AYes — the content between the tags is fallback text for browsers without meter support, e.g. <meter value='0.65'>65%</meter>. Also add aria-valuenow and friends, since screen-reader support for meter is uneven.
More case studies coming soon — check back later.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏