Horje

How to add HTML <progress> max Attribute with label Tag

Show a progress bar.

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.

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.
index.html
Example: HTML
<label for="file">Downloading progress:</label>
<progress id="file" value="32" max="100"> 32% </progress> 

Output should be:

How to add HTML <progress> max Attribute with label Tag




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin