3. Basic HTML Structure

In This Chapter

Starting Your Web Page

Creating a Title

Creating Headings

Understanding HTML5’s Document Outline

Grouping Headings

Common Page Constructs

Creating a Header

Marking Navigation

Creating an Article

Defining a Section

Specifying an Aside

Creating a Footer

Creating Generic Containers

Improving Accessibility with ARIA

Naming Elements with a Class or ID

Adding the Title Attribute to Elements

Adding Comments

This chapter covers the HTML elements you need to establish the foundation and structure of your documents. That is, the outline and primary semantic containers for your content.

You’ll learn about:

• Starting a Web page

• The HTML5 document outline

• The h1h6, hgroup, header, nav, article, section, aside ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.