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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.