Main
Home
Contact Staff
Request
Graphics Directory

Site
Updates Archive
Previous Requests
History
FAQ
Terms
Previous Layouts
Staff
Affiliates
Credits
Link Back

Graphics
Avatars
Banners
MS Paint
Posters
Textures
Transparencies
Wallpapers
Miscellaneous

Drifting Designs Tutorials > > Coding > > HTML > > Ordered Lists






Basic Ordered List
Different Numberers
Jump Starting





Basic Ordered List


This tutorial will teach you how to create an ordered list, meaning that it is listed by number, letter, etc., in contrast to random bullets.

Below is a sample ordered list. Like the vegetables? =)-

  1. Asparagus
  2. Broccoli
  3. Cabbage
  4. Dandelion


Yes, can you believe that a dandelion is a vegetable? According to Wikipedia's list of vegetables, it is. Hmmm . . .

Anyway, I digress. To make your own list, use the following code -

<ol> <li>Asparagus</li> <li>Broccoli</li> <li>Cabbage</li> <li>Dandelion</li> </ol>

Explanation:
"<ol>" stands for "ordered list". The "<li>"s tell what is supposed to be listed. Replace the vegetables names with whatever you want. Remember that the list can be extended to however long you want. Just keep adding the "<li>" lines.


Different Numberers


Want a different numberer? (Numberer is a weird word, but I can't think of another word for the thing that numbers your lists). Instead of having the numberers 1, 2, 3 . . . and so on, you can have instead I, II, III, or A, B, C, or a, b, c, or i, ii, iii!

To do that, where it says "<ol>" in the above code, replace that with the following -
<ol type="A">


which will produce an ordered list like the one below, labeled by letters -

  1. Asparagus
  2. Broccoli
  3. Cabbage
  4. Dandelion


Option: Replace "A" with the lowercase letter a (so that your code is <ol type="a">) if you want a list like the one below -
  1. Asparagus
  2. Broccoli
  3. Cabbage
  4. Dandelion


Option: Replace "A" with the lowercase letter I, (so that your code is <ol type="I">) if you want a list like the one below -
  1. Asparagus
  2. Broccoli
  3. Cabbage
  4. Dandelion


Option: Replace "A" with the lowercase letter i, (so that your code is <ol type="i">) if you want a list like the one below -
  1. Asparagus
  2. Broccoli
  3. Cabbage
  4. Dandelion



Jump Start


Jump starting a list is when you start a list at, instead of number 1, which is default, number 9 for example. The list below exemplifies how lists can be started at a certain number.

  1. Asparagus
  2. Broccoli
  3. Cabbage
  4. Dandelion


To start a list at a specific number, use the following code -

<ol start="9"> <li>Asparagus</li> <li>Broccoli</li> <li>Cabbage</li> <li>Dandelion</li> </ol> Replace the number 9 with the number you want your list to start at.

Note that Jump Starting Lists only work for lists that are numbered by 1, 2, 3 . . .; they do not work for ordered lists that use letters or Roman numerals.
Layouts
Div Layouts
Frames Layouts
Pop-Up Layouts
Table Layouts

Neopets
Shop Signs
Guild Layouts
Full Page Layouts
Miscellanous

Tutorials
Coding
Graphics
Other

Hosted
Hosted by: