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:

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

Here's how your browser renders it:

Cat
Lovely creature.
Octopus
Intelligent creature.

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

http://dev.w3.org/html5/spec-author-view/the-dl-element.html#the-dl-element

Back to HTML5 Tags Complete List.

Like what you read? Buy JavaScript in Depth
or, buy a new keyboard, see Keyboard Reviews.