HTML max property
Example
A gauge with a current value and min, max, high, and low values:
Try it »
Browser support





Supported by Firefox, Opera, Chrome, and Safari 6
Definition and Usage
The max attribute specifies the upper bound of the gauge.
The value of the max attribute must be greater than the value of the min attribute.
If the max attribute is not specified, the default value is 1.
**Tip:** The max property together with the min property specifies the complete range of the meter.
Differences between HTML 4.01 and HTML5
Syntax
Attribute values
| Value | Description |
|---|---|
| number | Specifies a floating-point number representing the maximum value of the meter. The default value is "1". |
HTML