Example of HTML nested list in three levels - HTML CSS HTML

HTML CSS examples for HTML:List

Description

Example of HTML nested list in three levels

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <title>Example of HTML nested list</title> 
 </head> <!--from  ww w  .  ja  va 2 s.  c o m-->
 <body> 
  <h1>HTML Nested List</h1> 
  <ul> 
   <li>Item 1</li> 
   <li>Item 2 
    <ul> 
     <li>Item 2.1</li> 
     <li>Item 2.2</li> 
     <li>Item 2.3</li> 
    </ul> </li> 
   <li>Item 3 
    <ul> 
     <li>Item 3.1</li> 
     <li>Item 3.2 
      <ul> 
       <li>Item 3.2.1</li> 
       <li>Item 3.2.2</li> 
       <li>Item 3.2.3</li> 
      </ul> </li> 
     <li>Item 3.3</li> 
    </ul> </li> 
  </ul>   
 </body>
</html>

Related Tutorials