Loading...
HTML <dl> Tag

HTML <dl> Tag

In this tutorial, we will learn about dl tag in HTML with the help of examples.


<dl> Tag

Dl tag <dl> is used to declare a defination list.
A defination list item contains two entries i.e. a term and a description.

Syntax

<dl>.....</dl>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Dl Tag</title>
  </head>
  <body>
    <dl>
      <dt>HTML</dt>
      <dd>HTML is used to make websites.</dd>
    </dl>
  </body>
</html>

Output

HTML
HTML is used to make websites.

Global Attribute

Dl Tag support all the global attributes of HTML.


Event Attribute

Dl Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of dl tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML dt Tag.

- Related Topics