Summary -
In this topic, we described about the <dt> tag along with detailed example.
Definition term or description list term. Description list term specified by <dt> tag. The <dt> tag is used in conjunction with <dl> tag and <dd> tag. The description list (<dl>) is a list item contains a term and a description.
Description can be more than one for a description list. The term is represented with <dt> tag and will discuss further. The description is represented with <dd> tag.
The tag cane be specified like <dt></dt> with the term being inserted between the opening and closing tags. <dt> tag is a nested tag. Definition term(<dt>) can be linked to more than one description.
<dt> tag defines an item in a definition list in HTML 4.01. <dt> tag defines a term/name in a description list in HTML5.
Syntax -
<dt>.... HTML text here </dt>
Example -
<!DOCTYPE html>
<html>
<head>
<title> DD element example.. </title>
</head>
<body>
<dl>
<dt></dt>
<dd>TC objective is to deliver the point to point online
content on various technologies (including technical and
non-technical) to encourage the reader to learn and gain
expertise on their desired skills without any conditions
and restrictions.</dd>
</dl>
</body>
</html>