asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > PROGRESS Element

<progress> Element


Represents the completion progress of a task.HTML 2, 3.2, 4, 4.01, 5

HTML Syntax

NOTE: Both start and end tags are required.

Remarks

The <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

Two attributes determine the current task completion represented by the element. The max attribute specifies how much work the task requires in total, and the value attribute specifies how much of the task has been completed.

If max is omitted, its value defaults to 1. If value is omitted, the progress is deemed indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task completes.

Attributes

The <progress> element supports the following attributes, in addition to global attributes common to all HTML elements.

AttributeValueDescription
maxnumberSpecifies how much work the task requires in total. Default value is 1
valuenumberSpecifies how much of the task has been completed

Example

The below shows a progress element with no value attribute set.

<progress max=100></progress>

which would render as :

The below shows a progress element with its value attribute set.

<progress max=100 value=70></progress>

which would render as :

External References

See Also

METER



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note