html5<progress> tag
Translation results:
progress
UK[ˈprəʊgres] US[ˈprɑ:gres]
n. Progress; advance; [biology] evolution; (toward a higher direction) Growth
v. Development; (to make) progress, (to make) progress; to promote
vi. Development; (to a higher direction) to enhance
html5<progress> tagsyntax
Function: The <progress> tag defines the running progress (process).
You can use the <progress> tag to display the progress of time-consuming functions in JavaScript.
Parameters:
Attribute | Value | Description |
max | number | Defines the completed value. |
value | number | Defines the current value of the process. |
Note: Please use the <progress> tag to display the progress of the download.
html5<progress> tagexample
<!DOCTYPE html> <html> <body> 下载进度: <progress value="22" max="100"> </progress> <p><b>注释:</b>Internet Explorer 9 以及更早的版本不支持 <progress> 标签。</p> </body> </html>
Click the "Run instance" button to view the online instance