Section 2 - Basics Section 4 - Advanced Fancy Lists Compact lists Nesting lists Unordered types Ordered types Start numbers Putting it together You Try It! Forms Advanced Tables Frames Style Sheets Image Maps Section 5 - Publishing Section 6 - Extras Appendices |
One thing useful to do with lists is to nest them. This means you can put a list inside of a list. You must be careful when doing this, especially to make sure every opening tag has a closing tag. Let's start by putting a numbered list of plants inside an unnumbered list of living things. I've put in some extra spaces so it's easier to read, but the computer treats it like all the code is on a single line.
You can put numbered lists inside of numbered lists, unordered lists inside of unordered, or any combination you'd like. How many will nest together? Good question. Probably infinite, but because each list indents a little, you wouldn't want to go more than three or four deep. Here's the same principle, slightly extended:
|