HTML <progress> max Attribute

❮ HTML <progress> tag

Example

<label for="loading">Loading progress:</label>
<progress id="loading" value="55" max="100"> 55% </progress>

Meaning

The max attribute is a positive floating-point number indicating the maximum value for progress; often it will be 100.

Note: Unlike the <meter> element, the minimum value is always 0, and the min attribute is not allowed for the <progress> element.


Standard Syntax

<progress value="number" max="number"> number </progress>



Browser Support




Status







Attribute Values

Value Description
number The max attribute, if present, must have a value greater than 0 and be a valid floating point number. The default value is 1.
❮ HTML <progress> tag