HTML <dl> (Definition List) Tag

❮ Previous Reference Next ❯

Example

<dl>
  <dt>Apple</dt>
  <dd>A hard, round fruit with a smooth green, red or yellow skin</dd>
  <dt>Banana</dt>
  <dd>A curved fruit with yellow skin that grows in hot countries</dd>
  <dt>Manogo</dt>
  <dd>A tropical fruit that has a yellow and red skin and is yellow inside</dd>
</dl>

Meaning

The <dl> element contains a list of terms and definitions.

Version: HTML 2, 3.2, 4, 4.01, 5




Standard Syntax

<dl>
  <dt>Description Term</dt>
  <dd>definition description</dd>
</dl>



Browser Support




Status







Global Attributes

<dl> element also supports the Global Attributes in HTML.


Event Attributes

<dl> element also supports the Event Attributes in HTML.


By Default CSS Value(s)

Most of the browsers will display the <dl> element with the following by default value(s)

dl {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}
❮ Previous Reference Next ❯