Tag: Lists

  • Nested Lists in XHTML

    Quick Overview If you want to nest lists in HTML, you probably did something like the following (although you may not have done the indenting) &lt;ul&gt;<br /> &nbsp;&nbsp;&lt;li&gt;List Item 1&lt;/li&gt;<br /> &nbsp;&nbsp;&lt;ul&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Sublist Item 1&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Sublist Item 2&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Subsublist Item 1&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Sublist Item 3&lt;/li&gt;<br /> &nbsp;&nbsp;&lt;/ul&gt;<br /> […]