Home Tutorial Html Html5 HTML5 dl tag, Definition of  <dl> tag in html5

 
 

HTML5 dl tag, Definition of  <dl> tag in html5
Posted on: September 7, 2010 at 12:00 AM
Advertisement
In this section we will inform you about the <dl> tag in html5.

HTML5 dl tag, Definition of  <dl> tag in html5

In this section we will inform you about the <dl> tag in html5. The <dl> tag is used to specify the definition list. The definition list contains terms and some discription about it. One definition list can have more than one definition terms and description . The definition term is defined by using <dt>  tag and definition description is defined by <dd> tag. The <dl> tag contains all the data within it.

Declaration syntax:

The declaration syntax is as follows:

<dl> Terms and Description </dl>

Example:dl_tag.html.

<!DOCTYPE html>
<html>
  <head>
      <title>Example of dl Tag</title>
  </head>
<body>
    <dl>
          <dt>Roseindia</dt>
          <dd> We work on java technology</dd>
    
          <dt>MCA</dt>
          <dd> Master of Computer Application</dd>
   </dl>
</body> 
</html>

Output:

Download This Example:

Difference between HTML5 and HTML4

There is no difference in this attribute in both the versions.

Advertisement

Related Tags for HTML5 dl tag, Definition of  <dl> tag in html5:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 7, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com