Page Contents- Ordered Lists
Ordered Lists <ol>
On Other Pages
Unordered Lists <ul>
Description Lists <dl>
Ordered List: Tag <ol>
Sample |
Code |
The default Ordered List is Numbered 1., 2., 3, etc.
- one
- two
- three
- etc.
|
<ol> <li>one</li> <li> two </li> <li>three</li> <li>etc.</li>
</ol> |
You can change the type of ordering such as alphabetical, roman numarals
etc with additioal HTML code
Element |
Description / Comments |
End Tag |
Attributes
|
<ul>
|
The ul element is the container
for the entire Unordered List.
|
Req. |
compact, type |
<ol>
|
The ol element is the container
for the entire Ordered List
|
Req. |
compact, type, start |
<li>
|
The li element is used for
each line of the list
|
Opt. |
type, value |
John's Recommendation: Always use closing tags with optional
tags.