Part 2. HTML Elements and Guidance

This part of the book covers all nondeprecated elements that are shared among HTML 4, XHTML 1, and HTML5 (though some are obsolete in HTML5, as noted). Elements unique to HTML5 are covered in Part 3.

In some cases, an already existing element is different in HTML5, whether it’s the element’s meaning, the availability of an attribute, or the addition of new attributes. I note these differences throughout. In particular, keep an eye on the “Attributes in Detail” sections and the HTML5 boxes at the end of relevant entries. Each box details different uses and/or attributes for the element, allowing you to understand their application in HTML5 at a glance.

Part 2 Contents

Chapter 2: Primary Structure and Sections ...

Get The HTML Pocket Guide 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.