[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
HTMLSPEC-OL

OL

Usage

Used to specify an ordered or numbered list within a web document.

Attributes

type=""


Specifies the type of numbering style for ordered list. Possible values are as follows:

  • 1 = Arabic (1, 2, 3, ...) [default]
  • A = Alphabetic uppercase
  • a = Alphabetic lowercase
  • I = Roman numeral uppercase
  • i = Roman numeral lowercase
start="#"


Specifies where list numbering should begin.

compact


Specifies that the list should be in a compact form.

Code Tip

Numbered lists should be used when needing to display data in steps or numerical sequential order.

Live Example

<html>
<head><title>Numbered Document Example</title></head>
<body>
<ol type="A">
<li>List Item 1
<li>List Item 2
<li>List Item 3
<li>List Item 4
</ol>
</body>
</html> 


HTML Tags Center

last edited (April 12, 2004) by leeos, Number of views: 1701, Current Rev: 6 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.