Atributo máximo de HTML <progress>

❮ Tag HTML <progresso>

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 maxatributo especifica quanto trabalho a tarefa requer no total.


Suporte ao navegador

Os números na tabela especificam a primeira versão do navegador que suporta totalmente o atributo.

Attribute
max 8.0 10.0 16.0 6.0 11.0

Sintaxe

<progress max="number">

Valores de atributo

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 <progresso>