C H A P T E R  7

Creating HTML Documents

In this chapter, you are going to look at the most fundamental elements defined by HTML5: the document and metadata elements. These are the elements that you use to create an HTML document and to describe its contents.

These are the least interesting elements that HTML defines, and yet they are critically important. By all means, feel free to skip over this chapter and come back later—but please do come back. Every HTML document uses at least some of these elements (and often all of them) and knowing how to use them properly is essential to creating standards-compliant HTML5 documents. Table 7-1 provides the summary for this chapter.

Setting Up the Basic Document Structure

Let's begin with the document ...

Get The Definitive Guide to HTML5 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.