HTML Tutorial: Definition List: dl, dt, dd

By Xah Lee. Date: . Last updated: .

This page gives a example of HTML's {dl, dt, dd} tags.

These 3 tags are used together for a list of definitions. They are:

Here's the HTML code:

 <dt>Cat</dt><dd>Lovely creature.</dd>
 <dt>Octopus</dt><dd>Intelligent creature.</dd>

Here's how your browser renders it:

Lovely creature.
Intelligent creature.

By default, browsers do not make the term bold. Use CSS for that. 〔►see Xah CSS Tutorial

Back to HTML5 Tags Complete List.

Like what you read? Buy JavaScript in Depth