Unordered lists.

Basic unordered list with three elements.

Tick marks.

Can we change the bullets? To what circles or squares? The fancy stuff comes later. The default seems to be a shaded disc.

Ordered lists.

Basic ordered list with three elements.

  1. First item.
  2. Second item.
  3. Third item.

Orderings in lists.

Can we change the order? Hey, first lets change the type.

  1. First item.
  2. Second item.
  3. Third item.
  1. First item.
  2. Second item.
  3. Third item.
  1. First item.
  2. Second item.
  3. Third item.

Start attribute of the <OL> tag.

What about counting from 0 instead of 1? (Nope)

  1. First item.
  2. Second item.
  3. Third item.
  1. First item.
  2. Second item.
  3. Third item.

Miscellaneous.

What about starting at 1008 and having capital Roman letters?

  1. First item.
  2. Second item.
  3. Third item.

Attributes of <LI>.

Are there any attributes to the li tag? (Nice person.) Just type and value.

  1. First item.
  2. Second item.
  3. Third item.
  1. First item.
  2. Second item.
  3. Third item.

Check the source code of the following example.

  1. First item.
  2. Second item.
  3. Third item.
  4. Fourth item.
  5. Fifth item.
  6. Sixth item.
  7. Seventh item.
  8. Eight item.
  9. Ninth item.
  10. Tenth item.
  11. Eleventh item.
  12. Twelvth item.
  13. Thirteenth item.
© McGraw-Hill 1997. All rights reserved.

This presentation accompanies the book "In-line/On-line: Fundamentals of the Internet and World Wide Web" (ISBN 0-072-90685-5) written by Raymond Greenlaw and Ellen Hepp.