College of Engineering Logo Web Server Logs Student Server Logs Orange bar Main Page General Information Special Events Programs Research Student Information Computer Facility Outreach Xtreme Engineering Jobs Available

List tags

These tags are used to describe different kinds of lists. Most of these list tags use the LI tag to denote elements within the list. However, the DL (description list) tag uses pairs of DT and DD tags to denote an entry's title and description, respectively. All list tags have an optional valueless COMPACT attribute to create compact lists.

Name Purpose Attributes Content
DIR Directory list COMPACT LI
DL A list of definitions COMPACT DT DD
DD Description of corresponding DT tag none text
DT Title for definition described by DD tag none text
LI Items used for most lists none text
MENU "Menu"-type list, typically for a list of choices COMPACT LI
OL Ordered list, items preceded by ascending numbers COMPACT START TYPE LI
UL Unordered list, items preceded by special marks COMPACT TYPE LI

The ordered and unordered lists (OL and UL respectively) also have additional attributes to change their appearances. The OL tag has a START attribute to set a starting number for counting the headings and the TYPE attribute for the OL tag allows the setting of the counting styles by using the values given below:


Value Style Sequence
1 Arabic numerals 1 2 3 ...
a lowercase letters a b c ...
A uppercase letters A B C ...

Value Style Sequence
i lowercase Roman i ii iii ...
I uppercase Roman I II III ...

The UL tag also has a similar TYPE attribute, where its values can be one of the following: CIRCLE, DISC or SQUARE.


Examples:

Tree
A usually tall woody plant.
trek
To make a slow and arduous journey.
<DL COMPACT>
<DT>Tree
<DD>A usually tall woody plant.
<DT>Trek
<DD>To make a slow and arduous journey.
</DL>

  • This
  • is
  • a test.
  • <DIR>
    <LI>This <LI>is <LI>a test.
    </DIR>

  • This
  • is
  • a test.

  • <MENU>
    <LI>This <LI>is <LI>a test.
    </MENU>

    1. This
    2. is
    3. a test.
    <OL>
    <LI>This <LI>is <LI>a test.
    </OL>

    • This
    • is
    • a test.
    <UL>
    <LI>This <LI>is <LI>a test.
    </UL>

    Author: Ben Yoshino (ben@wiliki.eng.hawaii.edu)

    Comments, Questions? | E-mail: webmaster@wiliki.eng.hawaii.edu


    Last updated on Monday, February 05, 2001
    Copyright © 2001 University of Hawai`i, College of Engineering, Computer Facility
    All rights reserved.