Atributo de valor HTML <progress>
Exemplo
Mostrar uma barra de progresso:
<label for="file">Downloading progress:</label>
<progress id="file"
value="32" max="100"> 32% </progress>
Definição e uso
O value
atributo especifica quanto da tarefa foi concluída.
Suporte ao navegador
Os números na tabela especificam a primeira versão do navegador que suporta totalmente o atributo.
Attribute | |||||
---|---|---|---|---|---|
value | 8.0 | 10.0 | 16.0 | 6.0 | 11.0 |
Sintaxe
<progress value="number">
Valores de atributo
Value | Description |
---|---|
number | A floating point number that specifies how much of the task has been completed |
❮ Tag HTML <progresso>