4.2 Incorporating Lists in Web pages
You can create plain, numbered or bulleted lists. You can as well nest one list into another. All lists are formed by code that specifies what sort of list you want to create, UL for Unordered List and DL for Unordered List and DL for definition lists.
4.2.1. Ordered Lists
To Create Ordered List:
- Type the title of the Ordered list.
- Type <OL>.
- Type <LI>
- Type the list item to be included in the list.
- Repeat steps 3 and 4 for each list item to be added
Example 4.1 – Ordered lists
<HEAD> <TITLE> players listing – ordered </TITLE> <HEAD>
<P> <H1 align = “center”> players selected </H1>
<FONT SIZE = 15pt”>
<OL type =”1”>
<LI> Mike Owen
<LI> Wayne Rooney
<LI> David Beckham
</P> </BODY> </HTML>