Tsallaka zuwa abun ciki
Justice Tech School

Description Lists

A description list pairs terms with descriptions. dl is the list, dt is a term and dd is its description. It suits glossaries, FAQs and key and value details.

Example
<dl>
  <dt>HTML</dt>
  <dd>Describes the structure of a page.</dd>
  <dt>CSS</dt>
  <dd>Controls how a page looks.</dd>
</dl>

Exercise

Which tag holds a term?

<dl>
  <>HTML</>
  <dd>Structure</dd>
</dl>

Quiz Test

In a description list, what does dd hold?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.