HTML <progress> max Attribute
Definition and Usage
max
The attribute specifies the total work required for a task.
Example
Display Progress Bar:
<label for="file">Download Progress:</label> <progress id="file" value="32" max="100"> 32% </progress>
Syntax
<progress max="number">
Attribute Value
Value | Description |
---|---|
number | A floating-point number used to specify the total work required for a task to be considered complete. The default value is 1. |
Browser Support
The numbers in the table indicate the first browser version that fully supports this property.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
8.0 | 10.0 | 16.0 | 6.0 | 11.0 |