Chapter 5: Organizing a Page
The Top of the HTML5 Document
The first four chapters of this book explain much of how the information above the
<body> tag is put to use. The code above the
<body> tag adds no content to the Web page, but it influences how the page appears and informs the browser that it’s a Web page and what kind of Web page it is. Figure 5-1 shows the general organization of the first part of the Web page.
Figure 5-1: Organizing the top of a Web page.
<html> tag is the root element, and within that element, you can include a language attribute. Then within the
<head> container are metadata elements. Also in the
<head> container are the scripting elements; they, too, are briefly covered in this section and expanded upon in Part IV of this book.
Other than the CSS3 scripts, the examples so far have not put a lot of tags into the
head of the HTML5 document. The
<meta> tag has many uses, but so far, ...