HTML Description List

HTML Description List is used to list item with a description of each term. HTML Description List is also called as HTML Definition List. The <dl>, <dt> and <dd> tags are used to define description list.

There are 3 HTML description list tags are given below.

  1. <dl> tag defines the description list.
  2. <dt> tag defines data term.
  3. <dd> tag defines data definition or description.

Syntax for Description List or Definition (ul) :

  <dt>Item 1</dt>
  <dd>- Item 1 description</dd>
  <dt>Item 2</dt>
  <dd>- Item 2 description</dd>

Let's see below example to understand HTML definition or description Lists in details.


Example :

<!DOCTYPE html>
<title>Learn HTML Description or Definition Lists by aryatechno</title>
<p><h3>HTML Description List for online tutorials</h3></p>
<dt>PHP </dt>
<dd>- PHP stands for Hypertext Preprocessor. PHP is a server scripting language to create dynamic web pages.</dd>
<dd>- It is HyperText Markup Language for Web pages.</dd>
<dd>- CSS is Cascading Style Sheets to style an HTML document.</dd>
<dt>C++ </dt>
<dd>- C++ is objected oriented programming language.</dd>



Output :


Leave a Reply

Your email address will not be published. Required fields are marked *