Open In App

HTML dl Tag

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: 




<!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: 

 

Article Tags :