Skip to content
Related Articles

Related Articles

Improve Article

HTML dl Tag

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

The <dl> tag in HTML is used to represent the description list. This tag is used with <dt> and <dd> tag. In HTML4.1, it defines definition list and in HTML5, it defines description list.
 

Syntax: 

<dl> Contents... </dl>

Example: 

HTML




<!DOCTYPE html>
 
<html>
 
    <body>
 
        <h1>GeeksforGeeks</h1>
        <h2>dl Tag</h2>
        <!-- HTML dl tag -->
        <dl>
            <dt>GeeksforGeeks</dt>
            <dd>A Computer Science Portal For Geeks</dd>
        </dl>
 
    </body>
 
</html>                   

Output: 



Supported Browsers: 

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

 

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :