Lists in HTML perform the same function as they do anywhere else. They help you organize information and make it easier to read. I use unordered lists throughout this site. You can use whatever you like. This document will show you how. There are three types of lists, ordered, unordered, definition lists. Ordered lists are organized using numerals of some type. Unordered lists are organized a type of bullets. Definition lists are formatted to define terms like a dictionary. We'll discuss ordered and unordered first. Here's an example of what they both look like. Ordered:
Unordered:
The basic formatting of the list is the same for both types. <ol> The only differences are the values of the attributes used for the <ol> and <ul> tags.
That's it for ordered and unordered lists. On to definition lists.
Definition lists are a little different. They don't use the <li> tag at all. They use three unique tags. They are: <dl>, starts or ends the list, <dt>, lists the term to be defined (Definition Term), and <dd> defines the term (Definition Definition). Example: <dl>
(Definitions courtesy of QUE'S Computer & Internet Dictionary, Bryan Pfaffenberger. ©1995, Que Corporation.)
That's all there is to lists. Good luck with all your lists you list.
©1996-1999 Gilpo All rights reserved. This document may not be altered in anyway or distributed without the expressed written consent of Gilpo. All information contained herein is deemed to be accurate but is not warranted. |