Switch to full style
HTML code examples
Post a reply

nested ordered list

Wed Feb 22, 2012 11:44 pm

In this example we create a nested ordered list using OL tag. One is inner ordered list and one is outer ordered.

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>Nested order list</title>

</
head>
     
<body>
  <center>
     <p>
       In this example we use ordered list as 
       inner one for other list
.
     </p>
  </center>
 Following are the top two employees ranked 
 by performance at each department monthly
:
<
ol>
  <li>Sales Department
    
<ol>
        <li>Tom Jakson</li>
        <li>Alen Boson</li>
    </ol>
  </li>
  <li>Marketing Department
    
<ol >
        <li>Jack Adam</li>
        <li>Ahmed Ali</li>
    </ol>
  </li>
  <li>Development Department
    
<ol>
        <li>Noha Kamal</li>
    </ol>
  </li>
</
ol>

</
body>
</
html>

 




Post a reply
  Related Posts  to : nested ordered list
 creating non ordered list using UL tag.     -  
 Add border around ordered list elements     -  
 Remove ordered list numbers     -  
 ordered list from specific number     -  
 ordered list with roman numbers     -  
 unordered-ordered-Definition-list-HTML-Tags     -  
 Nested function     -  
 Layout with Nested JPanels     -  
 Break in Nested Loops     -  
 Nested classes(inner class) in java     -  

Topic Tags

HTML List