HTML dt tag

The HTML <dt> tag is used for specifying a definition term in a definition list.

In a definition list (<dl>), each list item contains two or more entries; a term and at least one description. The term is represented by the <dt> element and the description is represented by the <dd> element. The list itself is declared using the <dl> element.

The basic tag is written like this <dt></dt> with the term being inserted between the opening and closing tags. One or more <dd> elements follows (each with a description of the term). Both elements are nested inside the <dl> element.

<h4>Example 1</h4>
<dl>
<dt>HTML</dt>
<dd>The markup language for writing web pages. Stands for HyperText Markup Language.</dd>
<dt>JavaScript</dt>
<dd>A scripting language that is often used on web pages to provide more functionality than what HTML alone can do.</dd>
<dt>CSS</dt>
<dd>Standing for Cascading Style Sheets, CSS allows web authors to style the HTML elements that they include on a web page.</dd>
</dl>

<h4>Example 2</h4>
<dl>
<dt>Red</dt>
<dd>A color at the end of the spectrum next to orange and opposite violet, as of blood, fire, or rubies.</dd>
<dt>Green</dt>
<dd>A color between blue and yellow in the spectrum; colored like grass or emeralds.</dd>
<dd>Covered with grass, trees, or other plants.</dd>
<dt>Blue</dt>
<dd>Color intermediate between green and violet, as of the sky or sea on a sunny day.</dd>
<dd>Of a person in a melancholy, sad, or depressed mood.</dd>
</dl>

Eg. :

Example 1

HTML
The markup language for writing web pages. Stands for HyperText Markup Language.
JavaScript
A scripting language that is often used on web pages to provide more functionality than what HTML alone can do.
CSS
Standing for Cascading Style Sheets, CSS allows web authors to style the HTML elements that they include on a web page.

Example 2

Red
A color at the end of the spectrum next to orange and opposite violet, as of blood, fire, or rubies.
Green
A color between blue and yellow in the spectrum; colored like grass or emeralds.
Covered with grass, trees, or other plants.
Blue
Color intermediate between green and violet, as of the sky or sea on a sunny day.
Of a person in a melancholy, sad, or depressed mood.