Forms & Inputs

HTML <progress> Tag

The <progress> tag represents the completion progress of a task.

Definition and Usage

The <progress> tag represents the completion progress of a task.

Standard Syntax:<progress>...</progress>

Interactive ExampleRunnable

HTML <progress> Example

html
Try it Yourself
Live code demonstration for the <progress> tag. Click "Try it Yourself" to edit and experiment in real time.
<div style="font-family: system-ui, sans-serif; padding: 16px; background: #ffffff; border-radius: 8px; border: 1px solid #e2e8f0; color: #0f172a;">
<label for="file">Downloading progress:</label>
<progress id="file" 
    value="32" max="100"> 32% </progress>
</div>

Attributes for <progress>

1 Supported Attributes
AttributeValuesDefaultDescription
maxnumbernoneSpecifies how much work the task requires in total. Default value is 1
Global Attributes

The <progress> tag also supports the standard global attributes in HTML, including class, id, style, title, hidden, and data-*.

HTML Global Attributes Reference →
Event Attributes

The <progress> tag supports event attributes in HTML, such as onclick, onmouseover, onfocus, and more.

HTML Event Attributes Reference →

Browser Compatibility

ChromeEdgeFirefoxSafariOpera

More Tags in Forms & Inputs

View All 123Tags →