Skip to content
Related Articles

Related Articles

Improve Article

HTML dt Tag

  • Difficulty Level : Basic
  • Last Updated : 07 Jun, 2021

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: 
 

HTML




<!DOCTYPE html>
 
<html>
 
    <body>
 
        <h1>GeeksforGeeks</h1>
        <h2><dt> 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>                   

Output: 
 



Supported Browsers:  
 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

 

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.




My Personal Notes arrow_drop_up
Recommended Articles
Page :