HTML Other Lists

HTML Tutorial

HTML Forms

HTML Graphics

HTML Media

HTML API

Html Other Lists

HTML Description Lists

A description list describes a list of terms along with a description of each term.

The <dl> tag is used to describe the description list, the <dt> tag defines the term (name), and the <dd> tag describes each term:

Example

				
					<!DOCTYPE html>
<html>
<body>
<h2>A Description List</h2>
<dl>
  <dt>Coffee</dt>
  <dd>- black hot drink</dd>
  <dt>Milk</dt>
  <dd>- white cold drink</dd>
</dl>
</body>
</html>

				
			

Output:

A Description List

Coffee
– black hot drink
Milk
– white cold drink