html 语义化

2016/12/03

语义化标签

<header>
    <div>This is the header.</div>
</header>

<nav>
    <div>This is the navigation.</div>
</nav>

<main>
    <div>This is the main content.</div>
    <section>
        <div>This is a section.</div>
    </section>
    <article>
        <div>This is an article.</div>
    </article>
    <aside>
        <div>This is an aside.</div>
    </aside>
</main>

<footer>
    <div>This is the footer.</div>
</footer>