Latest web development tutorials
 

HTML <progress> max Attribute

< HTML <progress> tag

Example

Downloading in progress:

<progress value="22" max="100"></progress>
Try it Yourself »

Definition and Usage

The max attribute specifies how much work the task requires in total.


Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

Attribute
max 8.0 10.0 16.0 6.0 11.0

Differences Between HTML 4.01 and HTML5

The <progress> tag is new in HTML5.


Syntax

<progress max="number">

Attribute Values

Value Description
number A floating point number that specifies how much work the task requires in total before it can be considered complete. Default value is 1.0.

< HTML <progress> tag