HTML Tags

HTML <meter> Tag

The <meter> tag is used to represent a scalar measurement within a known range, such as disk usage, battery level, or progress percentage.
It is different from <progress>, as it can show a measurement that is not necessarily complete, but has a min and max value.

<meter> is useful for visualizing numerical data in forms or dashboards.

Syntax

<meter value="current" min="minValue" max="maxValue" low="lowValue" high="highValue" optimum="optimumValue">
  Fallback text
</meter>

Attributes

AttributeDescription
valueCurrent numeric value.
minMinimum value (default is 0).
maxMaximum value (default is 1).
lowRange that is considered “low.”
highRange that is considered “high.”
optimumThe ideal value.
formAssociates the meter with a form.
idAssigns a unique ID.
nameName of the meter element.

Example

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Meter Tag Example</title>
</head>
<body>
  <h2>Battery Level</h2>
  <label for="battery">Battery:</label>
  <meter id="battery" value="65" min="0" max="100" low="20" high="80" optimum="90">
    65%
  </meter>
  <p>The battery level is at 65%.</p>
</body>
</html>

Output

Browser Output

You will see a horizontal meter bar showing the current value (65%) relative to its range (0–100).
The bar visually indicates low, high, and optimum values if specified.
Try it in our TryIt Editor to experiment with different values and ranges.

Browser Support

Chrome
Chrome
Firefox
Firefox
Edge
Edge
Safari
Safari
Opera
Opera
IE
IE9+
✅Yes✅Yes✅Yes✅Yes✅Yes✅Yes

All major browser supports <meter> tag.

Notes

  • <meter> is semantic for measurements and can be styled using CSS.
  • Use low, high, and optimum to indicate different levels visually.
  • Not supported in older Internet Explorer versions.
  • Can be combined with <label> or <output> for more descriptive forms.

Conclusion

The <meter> tag provides a visual representation of scalar data within a defined range.
It improves usability and accessibility for displaying measurements like battery levels, scores, or progress indicators.

Sign In Form

User your email and password to singn in

Don’t have an account, signup here : 

HTML5 & CSS3

Tools and Tutorials

Want a Website

Want a website for your business ?

Please fill out the details below, so we can reach out to you.

Registration Form

Signup to track your record and much more.

We have sent you an email with a registration link. Please click the link to verify your email address, or enter the 6-digit OTP provided in the email.

Didn't receive the OTP. Regenerate OTP Resend