HTML <progress> max. atribut

❮ HTML tag <progress>

Příklad

Zobrazit ukazatel průběhu:

<label for="file">Downloading progress:</label>
<progress id="file" value="32" max="100"> 32% </progress>

Definice a použití

Atribut maxurčuje, kolik práce úkol celkem vyžaduje.


Podpora prohlížeče

Čísla v tabulce určují první verzi prohlížeče, která tento atribut plně podporuje.

Attribute
max 8.0 10.0 16.0 6.0 11.0

Syntax

<progress max="number">

Hodnoty atributů

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.

❮ HTML tag <progress>