dt element

<DT> (Defintion Term Element)

Explanation

dt element is used to denote the title of the document or article.
<dl> <dt>Title</dt> <dd>Text</dd> </dl>

Example Code:

Result :

Metropolitan Cities

- Chennai

- Kolkata
  • Use this tag to differentiate the sub headings from the heading portion.
  • It is necessary to add <dd> with this tag.
  • This tag must be placed inside the <dl>.
It is available in the previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It is applicable to all the major web browsers.

Ask Questions

Ask Question