Lesson 3: Definition Lists

Overview

This type of list is good for displaying terms and their definitions and is particularly suited to glossaries.

Learner Outcomes

At the end of this lesson you will have a basic understanding of the use of definition lists and how to apply them to a Web page.

Activities

  1. Start a new Web page or open an existing page.
  2. Look at the Common HTML Tag Page.

    Unordered Lists

    You can create an unordered list to display items that are not in a specific order, such as a set list of products. Below is an example of how to create an unordered list.

    <html>
    <Head>
    <Title>Definition Lists</Title>
    </Head>

    <Body>
    <DL> This is typed before the list.
    <DT> This is put in front of each term.
    <DD> This is put in front of each definition in the list.
    </DL> This will end the definition list command.

    </body>
    </html>

    The following is an example of a definition list:

    Apples
    The firm rounded fruit of the apple tree or any of it's varieties with red, yellow or green skin.
    Potatos
    A plant native to South America and widely cultivated for it's startchy, edible tubers.