This Tutorial
3 - Dictionary lists
Related Pages
PHP program control structures: switch and if statements
Web page templates
Interactive web page colours CSS tutorial
Interactive CSS fonts tutorial
Setting web page fonts using CSS

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.

code spacer....<BODY>
code spacer<DL>
code spacer<DT> Web Page </DT>
code spacer<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>
code spacer</DL>
code spacer</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.


  • Home
  • |
  • Sitemap
  • |
  • Databases
  • |
  • Web development
  • |
  • Delphi development
  • |
  • Image manipulation
  • |
  • KaSaB
  • |
  • Contact