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


 

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

In this section we will inform you about the <dt> tag in html5.

In this section we will inform you about the <dt> tag in html5.

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

In this section we will inform you about the <dt> tag in html5. The <dt> tag is used to specify the definition terms or items. The definition terms is all about which the description is to be given. The one definition list can have more than one definition term for description. The definition term is defined by using <dt>  tag and definition description is defined by <dd> tag. The <dt> tag is defined within the <dl> tag.

Declaration syntax:

The declaration syntax is as follows:

<dt> Term or item </dt>

Example:dl_tag.html.

<!DOCTYPE html>
<html>
  <head>
      <title>Example of dt 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:

Ads