HTML <dt> Tag
In this tutorial, we will learn about dt tag in HTML with the help of examples.
<dt> Tag
Dt tag <dt> is used to define the term/name in a description list.
The <dt> tag is used as the children of <dl> tag.
Syntax
<dt>.....</dt>
Example
<!DOCTYPE html>
<html>
<head>
<title>Dt Tag</title>
</head>
<body>
<dl>
<dt>HTML</dt>
<dd>HTML is used to make websites.</dd>
</dl>
</body>
</html>
Output
- HTML
- HTML is used to make websites.
Global Attribute
Dt Tag support all the global attributes of HTML.
Event Attribute
Dt Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of dt tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML em
Tag.