HTML <meter> tag

You are Here:

HTML <meter> tag

The <meter> tag specifies either a scalar value within a known range or a fractional value.

Example

HTML Online Editor
<!DOCTYPE html> <html> <body> <p>Car speed 40 mph - 70 mph is normal.</p> <p>Honda Speed(60 mph) :<meter min="0" max="100" value="60"></meter></p> </body> </html>

Attributes

The following are the attributes of <meter> tag. Also try Global attributes.

AttributeValueExplanation
formform_idSpecifies the meter belongs to one or more forms.
highnumberSpecifies the upper range of the normal value.
lownumberSpecifies the lower range of the normal value.
maxnumberSpecifies the maximum value of the range.
minnumberSpecifies the minimum value of the range.
optimumnumberSpecifies which part between the minumum value and the maximum value is the best part.
valuenumberSpecifies the value to be displayed in the meter. Default value is 0.

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author