IN.gov - Skip Navigation

Note: This message is displayed if (1) your browser is not standards-compliant or (2) you have you disabled CSS. Read our Policies for more information.

State of Indiana

WebCMS Training > HTML Tutorial > Lists > Nested Lists Nested Lists

Nested lists are lists that contain a subset of lists. In order to create a nested list, create a new list where the nested list is needed.

Example

<ol>
  <li>Fruit
    <ul>
      <li>Apples</li>
      <li>Oranges</li>
      <li>Pears</li>
    </ul>
  </li>
  <li>Vegetables
    <ul>
      <li>Broccoli</li>
      <li>Peas</li>
      <li>Corn</li>
   </ul>
  </li>
</ol>