Lists are actually extremely easy to create, basically there is a start tag (to start the list), a tag to start each new item/element of the list, and then finally a tag to finish off the list. There are 2 basic types of lists: ordered and unordered, each with their own set of special features, as well as some common features.
- <OL><LI></OL> - Ordered List. The <OL> tag is the on that starts the list. Each new list item should start with the <LI> tag and the list should be finished off using </OL>.
- <OL TYPE="A, a, I, i, 1"> - The type of order can be set using type, notice the both capital letters and lower case letters can be used as well as roman numerals, little i's and numbers.
- <OL START="?"> - The starting number (or letter) is set using the START tag. This is used when you don't want to start at the default beginning letter or number.
- <LI VALUE="?"> - If it is desired that the character to be used for a particular item of the list is to be changed, it can be. Note: subsequent values will have changed as a result of this change in order.
- <LI TYPE="A, a, I, i, 1"> - Just as the list type was change using the TYPE tag, an individual item can also have its type changed. However, just as before, by changing one, it affects all subsequent list items.
- <UL><LI></UL> - Unordered List. An unordered list is basically a bulleted list, like the one used here, and is used in the same fashion as the ordered list. However, it does have different features.
- <UL TYPE="DISC, CIRCLE, SQUARE"> - Just as the type of the ordered list was changed, the typed of bullets used in the unordered list can also be changed.
- <LI TYPE="DISC, CIRCLE, SQUARE"> - And just as each individual item can have its number changed, it can also have its bullet modified to suit.
Example on Lists: Click Here to open example in an new window
The tags used will be shown in the example.
| http://www.htmlguide.findhere.com |
Copyright © 1999 Robert Duncan |