<dl> and </dl>

PURPOSE: To make a definition list.

Below is a basic html document. The referenced html tag is in RED. All tags must have a start and a end tag. Most end tags have a / before the tags name, however there are a few that are done differently. The tags that end differently will be noted and highlighted. The order of the start and end tags is also very important to proper display of your page in a web browser.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<dl>
<dt>Term 1</dt>
<dd>Definition of Term 1</dd>
<dt>Term 2</dt>
<dd>Definition of Term 2</dd>
<dt>Term 3</dt>
<dd>Definition of Term 3</dd>
</dl>
</body>
</html>


Below is a example of a definition list from the above code.

Term 1
Definition of Term 1
Term 2
Definition of Term 2
Term 3
Definition of Term 3

© Copyright 2001,2002 Southern Twilight    All rights reserved.

Back To HTML Examples