12. Text

This chapter features text-level semantics that are unique to HTML5.

Of these, you will probably find yourself using the new figure and figcaption the most, since they address a common content convention (a figure with a caption, surprise!) for which X/HTML lacks dedicated elements.

This chapter’s counterpart is Chapter 5; together they detail all the text-level elements available to you when developing HTML5 documents and applications.



The figcaption element represents the caption or legend for a figure element’s contents. It might be a brief photo ...

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.