HTML5: Using the <header> element for site header

This entry is part 6 of 34 in the series HTML5

The <header> element is usually the first thing on the body of a web page.

It can contain logo, website name or site navigation.

<!DOCTYPE html>
<head lang='en'>
    <meta charset='UTF-8'>

        <h1>Learning HTML5 </h1>

        <h3>It's easy to learn HTML5 with Codecrawl!</h3>


The hgroup here is used to group the heading and the sub heading.

Series Navigation<< HTML5: Syntax writing style
HTML5: Putting site navigation <nav> links at <header> >>

Leave a comment

Leave a Reply