HTML5 Guidelines for Web Developers

(coco) #1
2.7 Text-Level Semantics—More New Tags 35

Summary


HTML5 offers a wealth of new structural elements, such as header, hgroup, ar-
ticle, section, aside, footer, and nav. The detailed example at the beginning
of this chapter, the creation of a fictitious blog entry, demonstrates how easily
and intuitively these elements can be used. Instead of anonymous div elements,
which only make sense in combination with the class attributes, we now find
speaking elements—a concept continued with figure and figcaption for inte-
grating images and graphics. From the comprehensive list of HTML5 semantic
text elements plus examples of their usage in Table 2.2, we briefly introduced the
most interesting new elements, such as ruby, rt, and rp for ruby annotations;
time for specifying the time; mark for marking text passages; and wbr for optional
line breaks.

Free download pdf