List Examples

Lists HTML Code used
Ordered List
  1. List item one
  2. Two
  3. Three
<OL>
<LI> List item one
<LI> Two
<LI> Three
</OL>
Unordered List
  • List item one
  • Two
  • Three
<UL>
<LI> List item one
<LI> Two
<LI> Three
</UL>
Lets look at some nested lists: Ordered
  1. One
  2. Two
    1. One
    2. Two
    3. Three
  3. Don't forget that for each opening tag
    you need a matching closing tag !
<OL>
<LI> One
<LI> Two
<OL type="I">
<LI> One
<LI> Two
<LI> Three
</OL>
<LI> Don't forget...
</OL>
Unordered.
  • One
  • Two
    • One
    • Two
    • Three
  • Don't forget that for each opening tag
    you need a matching closing tag !
<UL>
<LI> One
<LI> Two
<UL type="square">
<LI> One
<LI> Two
<LI> Three
</UL>
<LI> Don't forget...
</UL>
Compact Nested Mixed List
  1. One
  2. Two
    • One
    • Two
    • Three
  3. Three
  4. Four
<OL COMPACT>
<LI> One
<LI> Two
<UL>
<LI> One
<LI> Two
<LI> Three
</UL>
<LI type="i"> Four
<LI> Five
</OL>
BACK HOME NEXT