Edtech Home About Classrooms Classes Lessons and FAQs
Educational Technologies Center for Life Sciences

More complicated lists

The Definition, or Glossary List

The definition or glossary list uses <DL> (Definition List), <DT> (term) and <DD> (definition) tags and allows you to create paired entries, where the first item is the term which will align with not be bulleted and will align on left hand margin and the second, or definition, which will be indented under the term.

Go back to your document and, after the last paragraph, enter this list of three terms and their definitions.

<DL>
<DT>HTML
<DD>Hypertext Markup Language
<DT>HTTP
<DD>Hypertext Transfer Protocol
<DT>GIF
<DD>Graphics Information File
</DL>

Save the file again (text-only) and open it with your web browser.

HTML
Hypertext Markup Language
HTTP
Hypertext Transfer Protocol
GIF
Graphics Information File



Nested Lists

It's possible to nest and combine list tags to increasingly complex lists. In this case Books and Magazines are in one unordered list, and the titles under each are in separate ordered lists.

© 2004 - E. Barbara Meyer - EdTech Center - Life Sciences - University of Illinois - Urbana, IL USA