Nested Lists


You can create nested lists in HTML by simply including the list tags inside a list item tag.

For example, the following HTML source code:


Foods
<UL>
<LI>Fruits
  <UL>
    <LI>Peaches
    <LI>Pears
  </UL>
<LI>Vegetables
  <UL>
    <LI>Broccoli
    <LI>Cauliflower
  </UL>
</UL>

Would display this nested list on the user's screen:

Foods
I understand nested lists. How do definition lists work?
[INDEX] [PREVIOUS] [NEXT PAGE] [CHAPTER 5]

Valid HTML 3.2!