Example of HTML nested list - HTML CSS HTML

HTML CSS examples for HTML:List

Description

Example of HTML nested list

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <title>Example of HTML nested list</title> 
 </head> <!--from   www.  j a v  a2 s.  co  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</li> 
  </ul>   
 </body>
</html>

Related Tutorials