5Practical Exercises

In this chapter, we present practical cases to explain theoretical concepts previously discussed in this book.

5.1. PE1: structure of an HTML5 web page

5.1.1. Purpose

In this workshop, we present the design of a web page by referring to the HTML5 semantic tags and using some CSS3 style properties.

5.1.2. Presentation

  1. 1) This workshop presents a simple structure of a web page with its associated style sheet. It covers the following concepts:
    • – structuring an HTML page (head/body/header/nav/main/article/aside/footer);
    • – importing elements (font/icons/style sheet/conditional import);
    • – organizing the elements of an HTML page (container/header/menu/sidebar/ footer);
    • – adding style properties to these elements.
  1. 2) Referring to the following screenshot (see Figure 5.1), you are asked to create an HTML web page, as well as its CSS, while respecting the following indications:

Get Website Design and Development with HTML5 and CSS3 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.