HTML dt Tag

Last Updated : 27 Jul, 2026

The <dt> tag in HTML is used to specify the description list. It is used inside the <dl> element. It is usually followed by a <dd> tag. The subsequent <dd> elements provides some related text associated with the term specified using <dt>.

Syntax

<dt> Content... </dt>


Example: In this example, we are using the <dt> (definition term) tag within a <dl> (description list). It lists terms like "Geeks Classes," "Fork Python," and "Interview Preparation," each with corresponding descriptive details.

HTML
<!DOCTYPE html>

<html>

<body>

    <h1>GeeksforGeeks</h1>
    <h2>&lt;dt&gt; Tag</h2>
    <dl>
        <!-- HTML dt tag -->
        <dt>Geeks Classes</dt>
        <dd>It is an extensive classroom programme for
            enhancing DS and Algo concepts.</dd><br>

        <!-- HTML dt tag -->
        <dt>Fork Python</dt>
        <dd>It is a course designed for beginners in
            python.</dd><br>

        <!-- HTML dt tag -->
        <dt>Interview Preparation</dt>
        <dd>It is a course designed for preparation of
            interviews in top product based companies.</dd>
    </dl>

</body>

</html>
  • The <dt> tag defines a term or name in a description list (<dl>), such as "Geeks Classes", "Fork Python", and "Interview Preparation" in the example.
  • Each <dt> element is followed by a <dd> tag that provides the description or details related to that term.
Comment