Html 5 dt tag

In the html 5 <dt> tag is used to detail for a definition term. In the definition term you can link to one or more description.In the definition terms is identify through <dt> tag and definition description is identify through <dd> tag. <dt> tag we will use inside of <dl> tag.

Syntax:

<dt> Definition Term </dt>

Example Code

<!DOCTYPE html>
<dl>
<dt> This is definition List </dt>
  <dd>This is definition descriptions. </dd>
  <dt>This is Ordered List </dt>
</dl>

Out Put:



This is definition List
This is definition descriptions.
This is Ordered List

In the above example had three lines first one is definition List and second one is definition descriptions and third one is Ordered List.





Content