html nested list
snippet in html

html nested list

user3905

<!-- Creat a list inside list -->

<ul>
  <li>Coffee</li>
  <li>Tea
    <!-- nested list -->
    <ul>
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk</li>
</ul>

nested list html

user3450

<ul>
  <!-- main item list -->
  <li>Coffee</li>
  <li>Tea
    <ul>
      <!-- items nested under tea -->
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk</li>
</ul>

list item nesting html'

user1062

<li>List Item</li>
        <li>List Item</li>
        <li>
          List Item
        </li><ul>
            <li>List Item</li>
            <li>List Item</li>
          </ul>