111 of 133 menu

The progress tag

The progress tag is used to display the task completion progress. The value is changed via JavaScript. Inside the tag, specify the text that will be displayed if the browser does not understand this tag.

Attributes

Attribute Description
value Current progress value.
max Maximum progress value.

The values ​​of attributes are integers or fractions.

Example

<progress max="100" value="25"> Uploaded on 25% </progress>

:

Example

<progress max="100" value="75"> Loaded on 75% </progress>

:

Example

<progress max="100" value="100"> Loaded 100% </progress>

:

Example

<progress max="100" value="0"> Loaded at 0% </progress>

:

Example . Fractional values

<progress max="100" value="10.5"> Uploaded on 10.5% </progress>

:

See also

  • tag meter,
    which displays a range of values ​​in a nice way
byenru