Switch to full style
HTML code examples
Post a reply

ordered list from specific number

Wed Feb 22, 2012 12:24 am

In this example we create ordered list using ol tag but we use the start attribute to define the starting counter of the list .


Code:
<html>
<
head>
  <
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <
title>Ordered List from a specific number</title>
</
head>

<
body>
   <
center>
  <
p>
       
Following is an example of order 
       
list but in this time we specify the start number.
  </
p>
    </
center>
    <
p>
    
Following is the are next top five students.
  <
ol start="5">
    <
li>Ossama Ali</li>
    <
li>James Colomabs</li>
    <
li>Tom mark</li>
    <
li>Amr Diab</li>
    <
li>Mark Cuban</li>
  </
ol>
    </
p>

</
body>
</
html>
 




Post a reply
  Related Posts  to : ordered list from specific number
 creating non ordered list using UL tag.     -  
 nested ordered list     -  
 Add border around ordered list elements     -  
 ordered list with roman numbers     -  
 Remove ordered list numbers     -  
 unordered-ordered-Definition-list-HTML-Tags     -  
 Specific Colors for Specific Forum     -  
 convert integer number to octal,hexadecimal number systems     -  
 convert octal number to decimal number     -  
 convert decimal number to octal number     -  

Topic Tags

HTML List