Previous rule | GEOM_NUMBER_073 | Next rule

The visually represented elements as a list are tagged in an appropriate way in the source code

In the content of a book, we sometimes need to list some text. For this, dash or chips of different forms are used. In an HTML page, this is called a list.

Objectives

  • Improve text readability
  • Structure list content

Implementation

  • Use HTML tags ul (for unordered lists) and ol (for ordered lists) to enclose the content of each list, and use the li tags for each list item. The chip shape is chosen in CSS.
  • Definitions lists are to be marked with the tags dl, dt and dd

Control

  • Check the source code of the HTML page of epub : Lists must be in a ul tag, ol or dl and each element is in a li, dt or dd tag

Validation

  • Needs to be human verified.

Informations