HTML <meter> with max Attribute

You are Here:

HTML <meter> with max Attribute

The max attribute specifies the maximum value of the range.

Condition

The following are the few conditions to be satisfied while specifying a value to the max attribute.

  • The value must be greater than the minimum value (min attribute)
  • If specified. If unspecified, the maximum value is 1.

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>

Attribute Value

ValueExplanation
numberSpecifies a floating point number that is the maximum value of the range.

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