Lesson 7: Lists
Making a Bulleted List
There may come a time when you would like to add a list to a web page, or maybe not, but just in case here is how to make a list. A list starts and ends with the "unordered" list tags:
The ul stands for “unordered list”, it will get you bulleted text, you know, a dot beside the text. The opening ul tag starts the list and the closing ul tag ends the list, in between goes the text surrounded by the opening and closing "list item" tag:
Example:
<ul>
<li>Beagle</li><li>Terrier</li>
<li>Chihuahua</li>
</ul>
Result:
- Beagle
- Terrier
- Chihuahua
Any number of items can be added to the list as long as they are enclosed by the opening and closing li tags. And that's how to make a list, let's now move on to making tables, don't worry no carpentry skills required. Next: lesson 8.