HTML <meter> tag
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.
Attribute | Value | Explanation |
---|---|---|
form | form_id | Specifies the meter belongs to one or more forms. |
high | number | Specifies the upper range of the normal value. |
low | number | Specifies the lower range of the normal value. |
max | number | Specifies the maximum value of the range. |
min | number | Specifies the minimum value of the range. |
optimum | number | Specifies which part between the minumum value and the maximum value is the best part. |
value | number | Specifies 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.