progress tag:
Judging from the name, you can probably guess what this tag is. Yes, it is a progress bar. In HTML5 we finally don’t need to simulate.
<progress id="W3Cfuns_progress" max="100"></progress> Powered by W3Cfuns.com
progressAttributes:
value: Indicates the current progress
max: Indicates the total progress
Note: The values of the value and max attributes must be greater than 0, and the value of value Less than or equal to the value of the max attribute.
Case:
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>HTML5每日一练progress标签的应用</title> </head> <body> <h1>W3Cfuns-HTML5每日一练progress标签的应用</h1> <p>完成百分比:<progress id="W3Cfuns_progress" max="100"></progress></p> </body> </html>
The above is the detailed content of Application of HTML5 progress tag. For more information, please follow other related articles on the PHP Chinese website!