Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

1. Fundamental Syntax and Semantics > 1.5. Adding Document Structure with HTML5...

1.5. Adding Document Structure with HTML5’s New Elements

Problem

You want to define your document structure with the new header, footer, nav, aside, section, and article elements.

Solution

Examine your content and document structure to determine which of the new elements work with your page:

header

Is used to contain the headline(s) for a page and/or section. It can also contain supplemental information such as logos and navigational aids.

footer

Contains information about a page and/or section, such as who wrote it, links to related information, and copyright statements.

nav

Contains the major navigation links for a page and, while not a requirement, is often contained by header.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial