Attributo massimo <progress> HTML

❮ Tag HTML <progress>

Esempio

Mostra una barra di avanzamento:

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

Definizione e utilizzo

L' maxattributo specifica quanto lavoro richiede l'attività in totale.


Supporto browser

I numeri nella tabella specificano la prima versione del browser che supporta completamente l'attributo.

Attribute
max 8.0 10.0 16.0 6.0 11.0

Sintassi

<progress max="number">

Valori di attributo

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.

❮ Tag HTML <progress>