HTML <meter> with high Attribute
HTML <meter> with high Attribute
The high
attribute specifies the upper range of the normal value.
Condition
The following are the few conditions to be satisfied while specifying a value to the high
attribute.
- The value must be less than the maximum value (max attribute)
- The value must be greater than the minimum value (min attribute)
- If any are specified. If unspecified, or if greater than the maximum value, the high value is equal to the maximum value.
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<body>
<p>Car speed 40 mph - 70 mph is normal.</p>
<p>Bugatti Speed(95 mph) :<meter min="0" low="40" high="70" max="100" value="95"></meter></p>
<p>Honda Speed(60 mph) :<meter min="0" low="40" high="70" max="100" value="60"></meter></p>
<p>Renault Speed(60 mph) :<meter min="0" low="40" high="70" max="100" value="35"></meter></p>
</body>
</html>
Attribute Value
Value | Explanation |
---|---|
number | Specifies a floating point number that is considered as the upper range of the normal value. |
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.