Sometimes you want to present information to the user that is not
appropriate in paragraph form, such as list items, a sequence of items
or actions, or definitions. For these situations (and many others),
you can use the DTL list tags to format your text appropriately.
You can create these types of lists:
- Note lists
- Format as numbered lists of notes under a header called Notes.
- Simple lists
- Format as indented lists of items without any preceding identifiers.
- Unordered lists
- Format as indented lists of items with each item preceded by a
bullet (o), a hyphen (-), or dashes (--), depending on the level of
nesting.
- Ordered lists
- Format as indented lists of items with each item preceded by a
number or letter indicating its sequence in the list.
- Definition lists
- Format in two columns, with terms in one column and their matching
descriptions in the other. You can also specify headings for each
column in the list. (This list is a definition list.)
- Parameter lists
- Format in two columns. This list is specifically designed to
identify and define parameter terms.
The list items in note lists, simple lists, unordered lists, and
ordered lists are created with the list item (LI) tag. The LI tag
does not require an end tag. It is implicitly ended by another LI
tag, an LP tag, or the end tag of the list it is coded within.