JavaScript Tutorial Free Downloads Download jsEditor Download jsEditor

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

Ken Ward's HTML Tutorial ...

Lists!

There are several types of list;

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 Ken J Ward

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