Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 03-08-2009
Member
 
Join Date: Oct 2008
Posts: 86
How to create ordered list letters in HTML

Can anyone tell me how to create the ordered list in HTML, i have tried out some basic forms to do and done with it, but now i wanted to know if there are any other ordered list that provides me some advance knowledge related to HTML file.
Reply With Quote
  #2  
Old 03-08-2009
Member
 
Join Date: Dec 2008
Posts: 183
Re: How to create ordered list letters in HTML

Following is the simple way through which you could create the ordered list in the HTML

There are nine planets:<br>
<ol>
<li>Mercury
<li>Venus
<li>Earth
<li>Mars
<li>Jupiter
<li>Saturn
<li>Uranus
<li>Neptune
<li>Pluto
</ol>

and the output for the above method will be as follows:
  1. Mercury
  2. Venus
  3. Earth
  4. Mars
  5. Jupiter
  6. Saturn
  7. Uranus
  8. Neptune
  9. Pluto
Reply With Quote
  #3  
Old 03-08-2009
Member
 
Join Date: Dec 2008
Posts: 161
Re: How to create ordered list letters in HTML

Lists do NOT require that you put line breaks following each line. Notice how the line wraps and indents if it is longer than one line. following are the basic convention that every statement need to follow,
  1. The list begins with the <ol> tag. here "ol" stands for "Ordered list".
  2. Each item in the list is marked with the list item tag, <li>. here "li" stands for list item
  3. And When the ordered list ends will be displayed as </ol>.
Reply With Quote
  #4  
Old 03-08-2009
Member
 
Join Date: Jan 2009
Posts: 140
Re: How to create ordered list letters in HTML

If you wanted to use the different listing conventions for ordered list then also it is possible and the body for that would be written as follows;

Code:
....<BODY> 

<OL TYPE="A">
<LI> Get an idea </LI>
<LI> Create a web page </LI>
<LI> Advertise it </LI>

</OL> 

</BODY>....
TYPE="1" - Displays list items in numerals
TYPE="A" - Displays list items in uppercase letters
TYPE="a" - Displays list items in lowercase letters
TYPE="I" - Displays list items in uppercase roman numerals
TYPE="i" - Displays list items in lowercase roman numerals
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to create ordered list letters in HTML"
Thread Thread Starter Forum Replies Last Post
How to reverse the order of the letters using linked list? Steadfast Software Development 4 15-02-2010 09:13 PM
How to create dropdown list under tab in HTML Mentos Windows Software 3 30-07-2009 11:49 AM
How to create Tab in HTML RasMus Software Development 3 30-07-2009 11:30 AM
How to create Tables in HTML ? Sudra Software Development 2 21-02-2009 09:01 AM
Changing small letters back to proper Capital letters in .doc rEDNESS TroubleShoot 98 2 04-03-2008 09:50 PM


All times are GMT +5.5. The time now is 01:02 PM.