Lists
Another common formatting technique involves lists. A number of objects are used explicitly for the creation and formatting of lists. These include
list-block— This object contains the data and describes the formatting for a list of items.
list-item— This contains an individual list item which consist of a list-item-label object and list-item-body object.
list-item-label— This contains the label block (such as an individual character or graphics) for an individual list item.
list-item-body— This contains the block of data for an individual list item.
Now let’s look at how these objects work together to create a list. This list will contain a list of customers for an imaginary company. You start out with the list-block object, which contains ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access