Learn How to Use and Style HTML Definition Lists

November 21, 2006

Writes Jennifer Kyrnin

When people think of lists they usually think of either bulletted (unordered) or numbered (ordered) lists. These are great tools for Web designers, but there is another type of list that is often overlooked: the definition list.

A definition list is so-called because it is a list of terms with their associated definitions. It consists of three tags rather than two:

< dl> - This opens and closes the list. This is similar to the < ol> and < ul> tags for numbered and bulletted lists.
< dt> - This is the definition term.
< dd> - This is the definition.

Note: Remove the spaces after < and before >

Tutorial Continued - [ Recommended Read - This lady knows her stuff! ]

Comments

Got something to say?

You must be logged in to post a comment.