Chapter 12. <head>

by Chris Mills

This chapter does not show you how to add content to your HTML documents. Instead, it is concerned with the different features found inside the <head> element, at the top of the document. These features do not show up as visible content on your HTML page (perhaps with the exception of the <title> element)—they are metadata, which means “data that describes data.” They provide useful data about your HTML document, or which can be used by your HTML document.

Below we will look at DOCTYPES, and the difference between HTML and XHTML, adding titles to your browser window, specifying what character set and language your document will use, providing descriptions and keywords to describe your document to user agents ...

Get InterACT with Web Standards: A holistic approach to web design 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.