<dl> Definition list tag in HTML - HTML Tutorial




definition list dl tag in html

Definition List dl tag in html

  • Definition list is a list of terms and their definition/description.
  • Definition list in order to use with the combination of <dd> and <dt> tags.
  • <dt> tag used to define the term name.
  • <dd> tag used to define the term description.
  • <dl> tag belonging to Flow content category.

Syntax for <dl> tag:

<dl><dt>Term Name</dt><dd>Description of term<dd></dl>

Sample Coding for <dl> tag:

Tryit<!DOCTYPE html>
<html >
    <head>
         <title>Wikitechy dl tag</title>
    </head>
    <body>
          <dl>
            <dt>HTML</dt>
            <dd>A HTML Wikitechy Tutorials for learners.</dd>
            <dt>CSS</dt>
            <dd>A CSS Wikitechy Tutorials for learners.</dd>
          </dl>
    </body>
</html>

Code Explanation for Definition list:

code explanation for definition list dl tag

  1. <dl>tag is initiated in the document.
  2. HTML and CSS Terms are mentioned in <dt> tag.
  3. The description of the HTML and CSS is declared within the <dd> tag.
  4. <dl>tag is terminated.

Output of Definition list tag:

output for definition list dl tag

  1. Here the output displays the description of the HTML and CSS in the document.

Browser Support for <dl> tag:

Yes Yes Yes Yes Yes

Related Searches to definition-list tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×