HTML Tutorial
Lists - 3
Definition List
Definition lists are not widely used, but serve a useful purpose. They allow you to maintain a glossary on your site. <DL> ... </DL> tags are used to define a definition list.
The word to be defined is enclosed between <DT> and </DT> tags. The definition is enclosed within <DD> and </DD> tags, and must follow the word to be defined.
- Add the following code to the BODY of an HTML document. Remember to include <HTML>, </HTML>, <HEAD>, </HEAD>, <BODY> and </BODY> tags in their normal positions.
....<BODY>
<DL>
<DT> Web Page </DT>
<DD> A text document with
HTML tags to specify formatting and links from the document to other documents and to
graphics and multimedia files.</DD>
</DL>
</BODY>....
- Save the file as dictionary.htm
What's next?
The next chapter of this manual will show you how tables work and can be used to lay out your web pages.