HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <meter> max Attribute

HTML meter Tag Reference HTML <meter> tag

Example

A gauge with a current value and min, max, high, and low segments:

<meter min="0" low="40" high="90" max="100" value="95"></meter>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The max attribute of the <meter> tag is supported in Firefox, Opera, Chrome, and Safari 6.


Definition and Usage

The max attribute specifies the upper bound of the gauge.

The max attribute value must be greater than the min attribute value.

If unspecified, the default value is 1.

Tip: The max attribute, together with the min attribute, specifies the full range of the gauge.


Differences Between HTML 4.01 and HTML5

The <meter> tag is new in HTML5.


Syntax

<meter max="number">

Attribute Values

Value Description
number Specifies a floating point number that is the maximum value of the gauge. Default value is "1"


HTML meter Tag Reference HTML <meter> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE