C H A P T E R  6

HTML Elements in Context

In the chapters that follow, I describe the elements defined by HTML5. Many of these are elements that also existed in HTML4, but in many cases the meaning of the element has changed or the way in which the element can be used is different. Before we look at the elements, I want to put them in context and set the foundation for what follows. Knowing how to use the elements is as important as understanding their significance.

Understanding the Sematic/Presentation Divide

One of the major changes in HTML5 is a philosophical one—the separation between the sematic significance of an element and the effect an element has on the presentation of content. In principle, this is a sensible idea—you use HTML elements ...

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.