May 03, 2021 HTML5
HTML5 is used to define the progress bar in the document. Please refer to the following example:
Mark "Download Progress":
<progress value="22" max="100"></progress>
IE 10, Firefox, Opera, Chrome and Safari 6 support the hashtag.
Note: I E 9 or earlier versions of Internet Explorer do not support the label. Click to open the link
The label defines the progress of the task in operation.
The label is the new label in HTML5.
Tip: Please use the hashtag with JavaScript to show the progress of the task.
Note: The label is not suitable for representing metrics such as disk space usage or related query results, please use. The label is replaced by the label.
New: The new property in HTML5.
Property | Value | Describe |
---|---|---|
max
|
Numerical | Specify the values that need to be completed. |
value
|
Numerical
|
Specifies the current value of the process. |
< The progress label supports the global properties of HTML.
< The progress tag supports HTML's event properties.
If you would like more style information for the progress bar, please refer to: HTML5 SVG lightweight jQuery progress bar plug-in.