Skip to content

Defintion Lists

A well hidden, rarely used piece of XHTML (well at least I’ve never used it). The Definition List, similiar to the <OL> and the <UL>, allows you to create lists like the ones in a dictionary or a bibliography.

If you type this:

<dl>
<dt>Dog</dt>
<dd>man’s best friend</dd>
</dl>

it will display:

Dog
man’s best friend

Kinda neat, eh?

DL
definition list
DT
definition term
DD
definition description

Its usefulness seems pretty limited but it’s still cool.

Comments

There are no comments for this post.

Post a Comment

Extra information for this entry