loading

Other Lists


Lists of descriptions are also supported by HTML.


HTML Description Lists

A list of terms along with a definition for each phrase is called a description list.

The description list is defined by the <dl> tag, terms are defined by the <dt> tag and each term is described by the <dd> tag:

Example

				
					<dl>
  <dt>Tea</dt>
  <dd>- black hot drink</dd>
  <dt>Milk</dt>
  <dd>- white cold drink</dd>
</dl>
				
			

Chapter Summary

  • Use the HTML <dl> element to define a description list
  • Use the HTML <dt> element to define the description term
  • Use the HTML <dd> element to describe the term in a description list
Share this Doc

Other Lists

Or copy link

Explore Topic