An important HTML tag type is the List. HTML supports three types of lists: ordered lists, unordered lists, definition lists. and, except for the definition list (see below), they all take the form:
All lists begin and end with an implicit
...
Ordered Lists use to open the list and
to close the list.
To start the numbering at a specific place, add SEQNUM=num to the
Adding CONTINUE to the tag will pick up the numbering of this list where the last list left off.
So, a list starting at 49 would look like this:
Unordered Lists use
to open and close the list.
The unordered list can be modified by adding tags to the opening
Adding WRAP= will make your list "wrap" into columns. WRAP=vert will make the list start a new column after reaching the bottom of the page. WRAP=horiz will make the list divide into as many columns as the page has room for.
To use some other image instead of the standard bullet, include SRC="/crash/picture.html", where picture is a link to the image you want to use. (See the next lesson: images)
An unordered list with no bullets that wraps vertically would look like this:
NOTE: Here's a neat trick. If you want something indented, you can use and unordered list. Just put your text in an unordered list with no list items.
Example:
Definition lists are two-part lists, useful for things like glossaries or defining lists of terms.
is used to open and close the list. The list items have two parts: the term and the definition. The definition term is enclosed in
NOTE: The definition term and the definition definition do NOT have to be on the same line like in the example.
One useful feature of lists is that they can be nested, i.e. one lists is a List Item of another list, like this:
Which looks like this:
Tables are 2-dimesional lists. They are coded similarly to definition lists. They have an implicit
at the beginning and end. The format is:
| Table Entry | ...Table Entry |
| Table Entry | ...Table Entry |
Each row is encapsulated in . Within the row are cells, enclosed in
| Tables | can | contain |
| any | amount | of |
| INFORMATION | !!! | |
| INFORMATION | ||
| Tables | can | contain |
| any | amount | of |
| INFORMATION | !!! | |
| INFORMATION | ||
Centering can be accomplished with the
NOTE: Structures such as centering, tables, lists and headings sometimes ignore formatting applied outside of the structure's limits. So,
The next lesson is Links.