dt tag in html

The <dt> tag defines a term/name in a description list.
The <dt> tag is used in conjunction with <dl> (defines a description list) and <dd> (describes each term/name).

<!DOCTYPE html>
<html>
<body>

<dl>
  <dt>Coffee</dt>
  <dd>Black hot drink</dd>
  <dt>Milk</dt>
  <dd>White cold drink</dd>
</dl>

</body>
</html>

Output:

Coffee
Black hot drink
Milk
White cold drink

Comments

Popular posts from this blog

Headings In HTML

Introduction and Format of HTML

Font Tag