Summary -
In this topic, we described about the <dd> tag along with detailed example.
DD stands for "Definition Description". Used to specify the term/description/name in a description list. The <dd> tag is used to specify the description in a description list.
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 basic tag can be specifies as <dd></dd> and the description being inserted between the opening and closing tags. The <dd> tag can be nested inside the <dl> tag.
<dd> tag was used to define an item in a definition list in HTML 4.01. <dd> tag is used to define a term/name in a description list in HTML5.
Syntax -
<dd>.... HTML text here </dd>
Example -
<!DOCTYPE html>
<html>
<head>
<title> DD element example.. </title>
</head>
<body>
<dl>
<dt>TC</dt>
<dd> 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>
Output -
- 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.