dl (Definition List) Element

<DL> (Definition List Element)

Explanation

dl (definition list) element encloses the heading and the contents related to it (heading).
<dl> <dt>Title</dt> <dd>Text</dd> </dl>

Example Code:

Result :

Most Used Web Browser

- Mozilla Firefox

Popular Web Browser

- Chrome

Top Ranked Web Browser

- Internet Explorer
  • This element will not function, in case it is used without <dt> and <dd>.
  • <dt> defines the title and <dd> mentions the sub title.
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 major web browsers.

Ask Questions

Ask Question