HTML Dog
Skip to navigation

HTML Tag: header

The header of a page or section, containing introductory content or navigation.

Optional Attributes

Global attributes

Example


<body>
    <header>
        <!-- A header for the page. -->
    </header>

    <section>
        <header>
            <!-- A header for the section. -->
        </header>
    </section>
</body>