Advertisement
Home Open Editor ❯

HTML <progress> value Attribute

Example

<label for="loading">Loading progress:</label>
<progress id="loading" value="55" max="100"> 55% </progress>

Try this code ❯

Meaning

The value attribute is the amount of task complete.

This may be a percentage, but there is no requirement that it be such a measurement.


Standard Syntax

<progress value="number" max="number"> number </progress>


Advertisement

Attribute Values

Value Description
number It must be a valid floating point number between 0 and max, or between 0 and 1 if max is omitted.
Home Open Editor ❯
Advertisement