C H A P T E R  2

Using the Right Tag for the Right Job

With HTML5, web developers are given an even wider palette of HTML elements with which to paint meaning into their pages. Many new elements have been introduced to more precisely mark up, define, and organize content. Understanding when and where to use the many elements within HTML is integral toward creating logically structured, specification-conforming, semantically rich web pages.

This chapter will provide an overview of the elements available in HTML5, both newly added and those inherited from HTML 4.01. That's a possibly daunting task, you might think! After all, there is an 800+ page specification that covers them all (the current length of the full WHATWG HTML specification, as ...

Get HTML5 Mastery: Semantics, Standards, and Styling 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.