Nested Ordered & Unordered Lists

In this table of  unordered list examples, various list examples occur   in the left column and the corresponding  html code  in the adjacent column on the right.

Nesting default ordered list and default unordered lists.

  1. First
    • with sub level
    • next sublevel
  2. Second
  3. Third
<ol>
<li>
First
   
<ul>
        <li>
with sub level</li>
        <li>
next sublevel</li>
    
</ul></li>
<li>
Second </li>
<li>
Third </li>
</ol>
  • First   
    1. with sub level
    2. next sublevel
  • Second
  • Third
<ul>
<li>
First
   
<ol>
        <li>
with sub level</li>
        <li>
next sublevel</li>
    
</ol></li>
<li>
Second </li>
<li>
Third </li>
</ul>

Nested lists, some using defaults and some without defaults.                               [Top]

  1. Murchie Building

      CSESP Dept

    • Susie Student
    • Carol Coder
    • Jim Jinks
  2. French Hall

      HIS Dept

    • Ben Flint
    • Bobby Davison
    • Mary Lansing
<ol type="A">
   <li>
Murchie Building
   <
ul>
   
<p>CSESP Dept </p>
   
<li>
Susie Student </li>
  
  <li>
Carol Coder</li>
   
<li>
Jim Jinks</li>
  
</ul>
  
</li>
   <
li>
French Hall
   <
ul TYPE="disc"
>
    
<p>
HIS Dept </p>
      <li>
Ben Flint </li>
      <
li>
Bobby Davison </li>
      <
li>
Mary Lansing </li>
   </ul>
   </li>
</ol>

          

Last updated on 01/02/2004  by L.M. Hicks