List: Description

HTML also supports description lists. A description list is a list of terms, with a description of each term.

HTML file: Displayed by browser:
<body>

  <dl>

    <dt>Coffee</dt>
      <dd>- black hot drink</dd>

    <dt>Milk</dt>
      <dd>- white cold drink</dd>

    </dl>

<body>
Coffee
- black hot drink
Milk
- white cold drink

Back button Table of Contents Next button