Summary -
In this topic, we described about the <dl> tag along with detailed example.
Description list. The <dl> tag is used to specify 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 <dl> tag defines a definition list in HTML 4.01.
The <dl> tag defines a description list in HTML 5.
Syntax -
<dl>.... HTML text here </dl>
Example -
<!DOCTYPE html>
<html>
<head>
<title> DD element example.. </title>
</head>
<body>
<dl>
<dt>TutorialsCampus</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:
- TutorialsCampus
- 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.