Lists

Including lists of items in a web page is fairly easy. There are two commonly used kinds of lists: an unordered list and an ordered list. The unordered list looks like this:

 

<UL TYPE=shape>
<LI>List Item #1
<LI>List Item #2
:
:
</UL>

 

The shape specifies what kind of bullet your list will use:

 

TYPE=disc

uses a filled circle (this is the default)

TYPE=round

uses an open circle

TYPE=square

uses a square


An ordered list looks like this:

 

<OL TYPE=x>
<LI>List Item #1
<LI>List Item #2
:
:
</OL>

 

The possible types are:

 

TYPE=A

uses upper case letters

TYPE=a

uses lower case letters

TYPE=I

uses upper case roman numerals

TYPE=i

uses lower case roman numerals

TYPE=1

uses numerals (this is the default)


You do not need to include a TYPE specification.

 

Assignment #3

Change your web page to include one ordered and one unordered list of something like your favorite CDs, computer games, foods, or sports.

 


Intro | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Project