<dt> tag

HTML <dt> tag

The <dt> tag defines the short term in description list.

You should cod the <dt> tag before the <dd> tag. Both these tags should be present inside the <dl> tag.

  • <dl> tag – It is the description list in HTML5 while it is definition list in HTML4.
  • <dd> tag – It describes the <dt>  element.

Syntax:
<dt>….</dt>

Example

<dl>
  <dt><b>AIR</b></dt>
  <dd>All India Radio (Broadcasting)</dd>
  <dt><b>CDMA</b></dt>
  <dd>Code Division Multiple Access</dd>
</dl>

CSS Default Value

display: block;

How Browser will display

BLOCK Level.

Difference between HTML4.01, XHTML and HTML5

HTML4 XHTML HTML5
<dd> tag defines about the short term(<dt>) in the definition list NA <dd> tag describes about the short term(<dt>) in the description list

Attributes used with <dt> tag

NONE

Global Attributes

The <dt> tag supports Global attributes.

Event Attributes

The <dt> tag supports Event attributes.

Supporting Browsers

supporting-browsers for tags

Related Tags

<dl> & <dd> tag

Tutorials for all brains!