Attributo del valore <progress> HTML
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' value
attributo specifica quanta parte dell'attività è stata completata.
Supporto del browser
I numeri nella tabella specificano la prima versione del browser che supporta completamente l'attributo.
Attribute | |||||
---|---|---|---|---|---|
value | 8.0 | 10.0 | 16.0 | 6.0 | 11.0 |
Sintassi
<progress value="number">
Valori di attributo
Value | Description |
---|---|
number | A floating point number that specifies how much of the task has been completed |
❮ Tag HTML <progress>