[HTML][JavaScript][Computer Stuff][Freeing the Mind]

Ken Ward's HTML Tutorial ...

Lists!

There are several types of list;

  • Bulleted Lists
  • Numbered lists
  • Directory
  • Menu
  • Definition

The above list is a bulleted list. The code is;

<ul>

<li>

bulleted Lists

<li>

Numbered lists

<li>

Directory

<li>

Menu

<li>

Definition

</ul>

The list begins with the <ul> tag. The ul stands for un-ordered List. Each list item is preceded with the <li> tag. Finally the list ends with the </ul> end tag with the now familiar '/.'

If instead of using the <ul> tag we used <ol> then the list would have numbers;

    <ol>

  1. <li>Bulleted Lists
  2. <li>Numbered lists
  3. <li>Directory
  4. <li>Menu
  5. <li>Definition
    </ol>

The following is a definition list;

Spuds
Used by crude people in England to refer to potatoes. Also called taters.

<dl>
<dt>Spuds
<dd>
Used by crude people in England to refer to potatoes. Also called taters.
</dl>

The whole is enclosed in the tags for the definition list <dl>

The term to be defined is preceded by the Definition Term tag, <dt>, and the definition is preceded by the Definition Definition tag <dd> The definition list <dd> is often used to indent text;

<dl></dd>This is indented using the definition tag</dd></dl>

 


Directory and Menu Lists

<dir>

  • <li>Directory and
  • <li>Menu Lists
    </dir>
  • <menu>

  • <li>This is an item
  • <li>This is another </menu>
  • Rather like bullets, aren't they?


    Let's have a look at the font tag now.


    [back to:  images with links]
    [home][contents]
    [on to: font tags]


    Most Recent Revision: 18-Oct-98.
    Copyright © 1998

    I am always pleased to hear from you.
    Send your comments to
    and please visit: New Life Course