HTML Description List or Definition List

HTML Description List or Definition List Tutorials

1. HTML Description List or Definition List

HTML Description List or Definition List displays elements in definition form like in dictionary. The <dl>, <dt> and <dd> tags are used to define description list.

The 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 (description).
 
  1. <dl>  
  2.   <dt>HTML</dt>  
  3.   <dd>is a markup language</dd>  
  4.   <dt>Java</dt>  
  5.   <dd>is a programming language and platform</dd>  
  6.  <dt>JavaScript</dt>  
  7.  <dd>is a scripting language</dd>  
  8.   <dt>SQL</dt>  
  9.   <dd>is a query language</dd>   
  10. </dl>  

2. Output:

HTML
is a markup language
Java
is a programming language and platform
JavaScript
is a scripting language
SQL
is a query language