There are a number ways to make lists with HTML. Many of them can help your website to be easily navigated.
Unordered List
- The unordered list tag produces a list with bullets (dots) in front of each item.
- <UL> (opening tag)
<LI>apples
<LI>oranges
<LI>bananas
</UL> (closing tag)
- Produces This:
Note: Each <LI> tag inserts an item into the list. There is no need to close it, just continue with the next item.
- Attributes
- TYPE=DISC
- TYPE=CIRCLE
- TYPE=SQUARE
- <UL TYPE=SQUARE>
- <UL TYPE=SQUARE>
<LI>apples
<LI>oranges
<LI>apples
</UL>
- Produces this:
- <UL TYPE=DISC>
- <LI>apples
- <LI>oranges
- <LI>bananas
</UL>
- Produces this:
- <UL TYPE=CIRCLE>
- Note: this is a default. The results are the same if you use the the <UL> tag.
- If you would like to learn more about lists, go to the next page.