Home > Articles > Web Development > HTML/CSS

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Summary

HTML5 offers a wealth of new structural elements, such as header, hgroup, article, 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 integrating 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.

  • + Share This
  • 🔖 Save To Your Account