Definition Lists in HTML

by on July 9th, 2007

A definition list is not a list of items. This is a list of terms and explanation of the terms. A definition list starts with the dl tag. Each definition-list term starts with the dt tag. Each definition-list definition starts with the dd tag.

Example of Definition List
Coffee
Black hot drink
Milk
White cold drink

Inside a definition-list definition – dd tags – you can put paragraphs, line breaks, images, links, other lists, etc.

Try this out:

A Definition List
Coffee
Black hot drink.
Milk
White cold drink.