Home >Web Front-end >HTML Tutorial >Application of HTML5 progress tag

Application of HTML5 progress tag

黄舟
黄舟Original
2017-07-08 13:59:031545browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn