Section 1 - Introduction
Section 2 - Basics
Section 3 - Next Level
Section 4 - Advanced
Fancy Lists
Compact lists
Nesting lists
Unordered types
Ordered types
Start numbers
Putting it together
You Try It!
Forms
Advanced Tables
Frames
Style Sheets
Image Maps
Section 5 - Publishing
Section 6 - Extras
Appendices
|
One more nifty thing you can do with those ordered lists. Take a look at this one:- Check - Dentist
- Check - Phone bill
- Check - Groceries
Notice how this list didn't start with the number one? You can specify where your list starts. Here's how you'd do that with Roman numerals.
Code |
---|
<ol type="I" start="5">
<li>
Chicken</li>
<li>
Rich</li>
<li>
Bo Peep</li>
</ol>
|
|
What you see |
- Chicken
- Rich
- Bo Peep
|
|
With letters, you do it much the same way.
Code |
---|
<ol type="A" start="5">
<li>
Stuart</li>
<li>
Miss Muffett</li>
<li>
Richard</li>
</ol>
|
|
What you see |
- Stuart
- Miss Muffett
- Richard
|
|
But just for a moment, suppose you want to be difficult. Suppose you want to skip a number in the middle. You can also change the <li> to specify a number. Every list item after that one will follow the new numbering scheme. Some hotels skip the 13th floor. Let's look at something similar:
Code |
---|
<ol type="1" start="11">
<li>
Lobby</li>
<li>
Dining</li>
<li value="14">
Ballroom</li>
<li>
Suites</li>
</ol>
|
|
What you see |
- Lobby
- Dining
- Ballroom
- Suites
|
|
Note that instead of "start" you list "value" under a list item.
|