Lists in HTML |
|
|
|
Ordered Lists: The Details |
|||||||||||||
Ordered lists use arabic numerals by default, but are capable of using roman numerals or letters of the alphabet in either upper or lower case. Lists can also be restarted after a break by specifying a starting number. Here's how... |
|||||||||||||
Types of Ordered Lists<ol type="?"> |
There are five standard types of ordered list, each shown by a type modifier in the <ol> tag:
Examples:
|
||||||||||||
Breaking and Restarting Ordered Lists |
Sometimes it's necessary to put a paragraph into a list without numbering it. There are at least three ways this can be done, but not all of them are valid XHTML:
Here are examples of each:
|
||||||||||||
Nested Lists |
|||||||||
Lists in one level are OK, but kind of boring. To really enjoy lists, you have to nest lists within lists within lists... The basic idea is that while you're working in one list, you start a new list before closing the first. You can freely mix Ordered and Unordered lists. |
|||||||||
Ordered |
Here are examples of nested ordered lists:
|
||||||||
Unordered |
Nesting Unordered lists is very much like nesting ordered lists. The issue is what form of printer's bullet will be used by the browser? If you leave it unspecified, this varies from browser to browser.
You can specify a Type much as you can with the Ordered lists. There are three symbols recognized:
|
||||||||
About this document... |
|
|---|---|
Review: |
Link to review quesitons and answers. |
Audience: |
This is for people who understand the concepts of HTML (see module W22c "HTML Concepts") and wish to learn how to apply list formatting to text. |
Objectives: |
When you successfully complete this lesson, you will be able to...
|
Module W22d: Lists in HTML |
This document is part of a modular instruction series. For more information, see the overview or the list of modules in this series, W: World Wide Web. This document has been used in the following classes: INP 165, INP 150 |
Author: |
Laurence J. Krieg, Internet Professional Department |
Institution: |
|
| History: | Original:
02 November 2000 Last modification: Monday, 31-Aug-2009 11:48:05 EDT |
| Copyright: | Copyright
© 2001, Laurence J. Krieg. Instructors: You may point to this file in your Web-based materials. Students: you may make a copy for your personal use. All other uses: contact the author, Laurence J. Krieg for permission. Email krieg@ieee.org |