Month 2 Week 2

Lots of Lists

Definition Lists

There may be times when you need a list that looks like a glossary or dictionary, with terms and definitions. Again, HTML has a built in set of tags for handling these kinds of lists.

<DL> and </DL> are the open and close tags for the list and the <LH> and </LH> work to make a list header. <DT> identifies the term and <DD> is for the definition. Put them all together and you get - 

<DL>
<LH>This Is An Example Definition List</LH>
<DT>Term
<DD>The definition is shown indented from the left side.
<DT>Another Term
<DD>You can see how this shows each term and it's definition clearly.
</DL>

Try it yourself now to find out how it looks in your web page!

Continue to learn about lists within lists...

©2003, Gnosis 4-H Club
The 4-H name and 4-H logo are service marks protected under 18 U.S.C. 707.

Questions? Comments? Problems? Contact the Webmaster!


Home