Bravenet Web Forum
Start a New Topic 
Author
Comment
No Subject

Lists Ordered and Lists Unordered

The two basic kinds of lists work the same. You use {ol} to start an ordered list (one with numbers on each item) and {ul} to start an unordered list (one with bullets for each item). The items themselves are begun with an {li} which is short for list-item). You use {/ol} or {/ul} to finish the list. Normally, you don't need anything to end the {li} since you're either starting a new item or ending the list. However, {/li} can be useful if you want to insert some "regular text" between two items in a list.

Present an ordered list:





    1. First item in the list

    2. Next item in the list

    3. . . .

    4. Last item in the list



    Present an unordered list:




      • First item in the list

      • Next item in the list

      • . . .

      • Last item in the list



      Note that {dir} and {menu} function on most browsers the same as {ul}. If you use {dir} keep the length under 20 characters for each list-item.