HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Show a progress bar
The <progress>
tag represents the
completion progress of a task.
<progress>
tag in conjunction with JavaScript to display the progress of a task.
<progress>
tag is not suitable for representing a gauge
(e.g. disk space usage or relevance of a query result). To represent a gauge,
use the <meter> tag instead.
The numbers in the table specify the first browser version that fully supports the element.
Element | |||||
---|---|---|---|---|---|
<progress> | 8.0 | 10.0 | 16.0 | 6.0 | 11.0 |
Attribute | Value | Description |
---|---|---|
max | number | Specifies how much work the task requires in total. Default value is 1 |
value | number | Specifies how much of the task has been completed |
The <progress>
tag also supports the Global Attributes in HTML.
The <progress>
tag also supports the Event Attributes in HTML.
HTML DOM reference: Progress Object
None.