Section 2 - Basics Lists Ordered Unordered Definition You Try It Basic Tables Marquee Meta Sounds Comments Section 4 - Advanced Section 5 - Publishing Section 6 - Extras Appendices |
Ordered List TAGS USED: <ol> </ol> <li> </li> These tags are used to make a numbered (ordered) list somewhere on your page. When you make this kind of list, it will indent the list from the main body of the document. It will also separate the list by a space from the lines above and below it. When you want to make an ordered list, you must first tell the computer what you're trying to do. You do this by using the tag <ol>. This tag tells the computer to start an ordered list. Everything between the <ol> and the </ol> tag will be indented. The "ol" also tells the computer to number the items within the tag. Within the tags, you are going to place the items that you want numbered. These are called list items, and conveniently, they are listed by the tags <li> and </li>. Let's say the you want to make a list of the seven dwarves from the Snow White saga. Here's how that would look:
There is also a way to use this list to off-set the list topic. It will indent the list topic without putting a number by it. This occurs when you put the list title between the <ol> and the <li> tag. Here's an example:
|