Unordered Lists (UL) and Ordered lists (OL) are great.
They present data in a nice bullet point layout by default. I list of links with just a sprinkle of CSS magic can become a vertical menu, a breadcrumb menu or even a tab menu.
You can even have a list inside another list, nested lists.
Here is an example of nested lists.
- Item 1.1
- Item 1.2
- Item 2.1
- Item 2.2
- Item 3.1
- Item 2.3
- Item 1.3
- Item 1.4
- Item 1.5
- Item 1.6
- Item 1.1
- Item 1.2
- Item 2.1
- Item 2.2
- Item 3.1
- Item 2.3
- Item 1.3
- Item 1.4
- Item 1.5
- Item 1.6
This is not valid XHTML!
Yes, the browser renders the list as expected, but the XHTML 1.0 DTD States that the only child tag of UL and OL is LI, there for the second (and third) UL must be within the appropriate LI as below.
- Item 1.1
- Item 1.2
- Item 2.1
- Item 2.2
- Item 3.1
- Item 2.3
- Item 1.3
- Item 1.4
- Item 1.5
- Item 1.6
- Item 1.1
- Item 1.2
- Item 2.1
- Item 2.2
- Item 3.1
- Item 2.3
- Item 1.3
- Item 1.4
- Item 1.5
- Item 1.6
No related posts.



This amazing is 1 of the most suitable article that My partner and i have read till date on this particular theme. Totally complete yet to the point without the need for any specific nonsense.
Thanks because of this! I’ve been searching all above the web for that facts.
You have an awesome blog. Bookmarking this!
Hello, I love your blog. Do you write all of the articles yourself?
Great goods from you, man. I have understand your stuff previous to and you are just too magnificent. I really like what you have acquired here, really like what you are saying and the way in which you say it. You make it enjoyable and you still care for to keep it sensible. I can’t wait to read far more from you. This is really a great website.
Magnificent goods from you, man. Nested lists a common mistake – WebDev I have understand your stuff previous to and you’re just too excellent. I actually like what you have acquired here, really like what you’re saying and the way in which you say it. You make it entertaining and you still care for to keep it smart. I can not wait to read much more from you. This is actually a wonderful Nested lists a common mistake – WebDev informations.
Rather great posting. I actually just became aware of your blog page and wanted to state that I’ve truly enjoyed analyzing your blog and articles. Nonetheless I’ll be subscribing your feed and I hope to browse your blog again.