O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Header

If a section of your page has a group of introductory or navigational content, mark it up with the header element.

A page can have any number of header elements, and their meaning can vary depending on their context. For instance, a header at or near the top of a page may represent the header (sometimes called a masthead) for the whole page Image. Oftentimes the page header includes the site’s logo, the main navigation Image, other global links, and even a search box. Undoubtedly, this is the header element’s most common use, but don’t mistake ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required