Chapter 5. Semantics

Chapter 5. Semantics

PREVIOUS VERSIONS OF HTML didn’t provide us with a huge number of elements to work with. We have elements for paragraphs, lists, and headlines, but no way to mark up a defined article with ancillary information or footnotes. Nor have we had a way to declare that a certain collection of links and content was a main navigation feature of our site.

Clearly, this limitation hasn’t been a showstopper; just look at the amazing variety of websites out there. Even though HTML might not provide a specific element for marking up a particular piece of content, it provides just enough flexibility for us to get by.

To paraphrase Winston ...

Get HTML5 for Web Designers, Second Edition, 2nd Edition 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.