
HTML>HTML Lsts>Definition Lists
A definition list is a list of terms and explanation of the terms. I used a definition list for the Glossary of terms for this website.
A definition list opens with the <dl> tag and closes with the </dl> tag.
Each definition list term starts with the <dt> tag.
Each definition list definition opens with the <dd> tag and closes with the </dd> tag.
Sounds complicated but once you see an example it's easy.
Try it out for yourself!
Examine the HTML code below. Cut and paste the following HTML code into the form window below and press the check it out button to see the resulting webpage.
<html>
<head>
<title>The Definition List Tag</title>
<body>
<h2>Glossary of Terms</h2>
<p>
<dl>
<dt><h3>Browser</h3></dt>
<dd>A Client program (software) that is used to look at various kinds of Internet resources.
</dd>
<dt><h3>HTML</h3></dt>
<dd>HyperText Markup Language. The coding language used to create Hypertext documents for use on the World Wide Web.
</dd></body>
</html>Creating your own webpage
Follow these simple steps to create your own webpage and to view your created webpage in your browser.