HTML5 部分新增语义化标签元素

<!DOCTYPE html>

    <html lang="en">

        <head>

            <meta charset="UTF-8">

            <title>Document</title>

        </head>

        <body>

            <header>

                <hgroup>

                    <h1></h1>

                    <h2></h2>

                </hgroup>

                <nav></nav>

            </header>

            <main>

            <aside>

                <time></time>

                <mark></mark>

                <datalist></datalist>

            </aside>

            <main>

                <section>

                    <article></article>

                </section>

            </main>

            <aside>

                <figure>

                    <figcaption></figcaption>

                </figure>

            </aside>

        </main>

        <footer></footer>

    </body>

</html>

posted @ 2018-11-20 10:15  比诺  阅读(460)  评论(0编辑  收藏  举报