[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-OL
Used to specify an ordered or numbered list within a web document.
Attributes
Specifies the type of numbering style for ordered list. Possible values are as follows:
Specifies where list numbering should begin.
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 Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-OL
OL
UsageUsed 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
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
