Lesson 3: List Tags
(Definition List Example)

You use the definition list tag "<dl>" to create glossary type lists. Each glossary list item is made up of two parts: the definition term tag "<dt>" for the term, and the definition data tag "<dd>" for the definition. In HTML, closing tags are not required for "<dt>" or "<dd>", whereas, they are required for XHTML.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Welcome to HTML</title>
</head>

<body bgcolor="#bdbdbd" text="black">
<h2>WWW Terminology Glossary</h2>
<dl>
<dt><b>HTML</b></dt><dd><i>HyperText Markup Language</i></dd>
<dt><b>HTTP</b></dt><dd><i>HyperText Transfer Protocol</i></dd>
<dt><b>FTP</b></dt><dd><i>File Transfer Protocol</i></dd>
</dl>
</body>
</html>