By Bob Pajot
Last month we dealt with placement of text and images on the web page and illustrated how important TABLES are for properly displaying them. This month will also deal with text placement and the use of LISTS.
The purpose of creating a list is to provide data in a ordered format.
This month we will concentrate on ORDERED and UNORDERED LISTS.
The Ordered List element is used to present a numbered list of items, sorted by sequence or order of importance. The Ordered list must begin with a <OL> (Ordered List) element, immediately followed by a <LI> (List Item) element. An example of an Ordered List follows.
Note: the numbers 1. 2. & 3. are put in by HTML and can also be displayed as a, b, c, or i, ii, iii, iv etc. and the list can be varied as far as start number.
The Unordered List element is used to present a list of items which is typically separated by white space and/or marked by bullets. The Unordered list must begin with a <UL> (Unordered List) element immediately follow by a <LI> (List Item) element. Note: the bullets can be a variety of shapes such as circle, disk, square. An Example of an Unordered list is:
A list created this way will be properly aligned with either a number or letter in the case of an Ordered List or a bullet in the case of an Unordered List. (the bullet can be omitted or varied in type)
Lists are perfect for lining up text quickly, are easier to use than tables, yet display your text in a professional looking manner.
By enclosing your entire list between the <CENTER> </CENTER> element, your list can be horizontally centered on the page.
We'll get into more next month. |
What do you think of having "The TXT" on-line? E-mail Bob Pajot ---> rdpajot@netcore.ca