|
|
Lists
HTML provides two main types of list:
- an ordered list, where the items are numbered in sequence, and
- an unordered list, where each item is preceded by a bullet (as here).
Lists are created by having a pair of list tags to contain the list:
- <OL> … </OL> for an ordered list
- <UL> … </UL> for an unordered list
Each item in the list is enclosed by the list item tags <LI>...</LI>. The browser automatically adds the numbers or bullets, and adds blank lines before and after the list (see Fig. 14). It is also possible to have nested lists, i.e. lists within lists.
--> NEXT: Images
Page:
1
2
3
4
5
6
7
8
9
10
11
Chapter:
1
2
3
4
5
6
7
A
|
5. Creating the Pages
|