Elements visually presented in list form are marked up appropriately in the source code.
- Rule n° 073
- Code and structure
In the content of a book, sometimes we need to list text. To do this, we use dashes or bullets of different shapes. In an HTML page, this is called a list.
Objectives
- Improve text readability.
- Structuring list content
Implementation
- Use HTML tags
- tags for each list item. It is in CSS that we choose the shape of the bullet. Add dl dt dd
- Check the source code of the epub HTML page: The lists must be in a
- or
- tag Add dl dt dd
- tag and each element must be in a
Validation
- Needs to be human verified.
- (for unordered lists) and
- (for ordered lists) to enclose the contents of each list, and use
Control
Informations :
Steps concerned :
Tags :
About that rule
Rule origin : Opquast | Opquast reference 4 228 | Updated on September 18, 2024