BBC Home

Explore the BBC


10th July 2014
Accessibility help
Text only
default banner
BBC Homepage

DNA Hub
Knowledge Base
Feedback
Search
Who's Online

h2g2
360
iCan
collective
Book of the Future
Talk Buffy
Get Writing
WW2
Parent's Music Room

Contact Us


Like this page?
Send it to a friend!

 
New visitors: Create your membership
Returning members: Sign in


GuideML: OL and LI Tags

The <OL> tag introduces an ordered list (effectively a numbered list), with each item in that list being denoted by <LI> tags.


Syntax and Usage
<OL>

<LI>...list item 1...<LI>

<LI>...list item 2...<LI>

...more list items...

</OL>

This will insert an ordered list - with numbering 1, 2, 3, etc - into the entry.

If you want to space out the items in the list, then start your ...list item... elements with <P> and end them with </P>, as in Example Two below.


Known Issues

None.


Example One

The colours are ordered like this:

  1. Red
  2. Orange
  3. Yellow
  4. Green
  5. Blue
  6. Indigo
  7. Violet

Example Two

It's a simple two-step process:

  1. Put the CD in the CD player.

  2. Press the Play button.


Further Information

Discuss this Article

People have been talking about this Article. Here are the most recent Conversations:
Definition List (Last Posting: Sep 24, 2002)
error in entry.. (Last Posting: Jul 22, 2002)
A known issue (Last Posting: May 30, 2002)






Article Data
Article ID: A340949 (Help Page)
Written and Researched by:
Bruce

Edited by:
Mark Moxon

Date: 26   May   2000

Most of the content on this site is created by our Members, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the BBC. The BBC is not responsible for the content of any external sites referenced. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here to alert our Moderation Team. For any other comments, please start a Conversation below.