HTML Reference Guide


Tag Index | Content List | HTML FAQ


How do I make a list?

There are several different types of lists. They are the definition list, item list, ordered list, unnumbered list.

For the definition list, web browsers generally format the definition on a new line and typically indent it. A definition list usually consists of alternating a definition term (coded as <DT>) and a definition definition (coded as <DD>).

Here is an example code:

<DL>
<DT>HTML
<DD>Hyper Text Markup Language
</DL>

Here is the result:

HTML
Hyper Text Markup Language

An Item List is simply an unnumbered list of items, this list is commonly known as a bulleted list.

Here is an example of the code:

<UL>This is an unnumbered list of fruits
<LI>apple
<LI>banana
<LI>orange
</UL>

Here is the result:

This is an unnumbered list of fruits
  • apple
  • banana
  • orange
  • An ordered list is another way of saying a numbered list, where all of the items in the list are numbered.

    Here is example code:

    <OL> This is a numbered list of fruits
    <LI>apple
    <LI>banana
    <LI>orange
    </OL>

    Here is the result:

    This is a numbered list of fruits
    1. apple
    2. banana
    3. orange

    The last type is the unnumbered list. It is also known as the bulleted list.

    Here is example code:

    <UL> This is a unnumbered list of fruits
    <LI>apple
    <LI>banana
    <LI>orange
    </UL>

    Here is the result:

    This is a unnumbered list of fruits
    • apple
    • banana
    • orange


      Free Web Pages | Super Links | Members Directory | Search | Privacy Statement | Site Map | Contact Us
    Services: Create Free Web Page | Free Home Page | Free Web Page Builder
    Free Web Page Templates | Free Web Sites | Free Web Space
    Copyright © 1996 - 2006 WebSpawner.com. All rights reserved.