HTML <progreso> atributo máximo

❮ Etiqueta HTML <progreso>

Ejemplo

Mostrar una barra de progreso:

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

Definición y uso

El maxatributo especifica cuánto trabajo requiere la tarea en total.


Compatibilidad con navegador

Los números de la tabla especifican la primera versión del navegador que es totalmente compatible con el atributo.

Attribute
max 8.0 10.0 16.0 6.0 11.0

Sintaxis

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

❮ Etiqueta HTML <progreso>