The Unordered List is the first of the three types of lists. This is probably the most common list you will use.
Example of an Unordered List...
<ul> <li>pencils <li>pens <li>erasers <li>paper <li>glue </ul>
Example of an Ordered List...
<ol>
<li>pencils
<li>pens
<li>erasers
<li>paper
<li>glue
</ol>
I have never used this type of List, but it may be helpful to you. This type of list is a little more complicated, but still very easy to use. This list starts with the <dl> opening tag, and ends with the </dl> closing tag. This has another tag known as <dt> for Definition Term, and <dd> for Definition Definition. These two tags do not need closing tags.
Example of a Definition List...
<dl> <dt>alliance <dd>A union, relationship, or connection by kinship, marriage, or common interest. <dt>alligator <dd>Large amphibious reptile with very sharp teeth, powerful jaws. <dt>alliterate <dd>To arrange or form words beginning with the same sound. </dl>
In the Box below, type the following HTML code, then click "Check it Out!" The HTML document you made will be displayed in your browser. You may wish to change the words within the tags and the tag attributes just to try it out.
Try typing this:
<html>
<head><title>Title goes here</title></head>
<body>
<h1>This example shows Lists</h1>
<hr>
<h2>A list Example!</h2>
<hr size=10>
<ul>
<li>pencils
<li>pens
<li>erasers
<li>paper
<li>glue
</ul>
</body>
</html>
|
Hosting for $4.95/mo
Unlimited Space, Free Domain Name [ Get Details ] Don't worry, it'll open in a new window ;) |