DT (<dt>) Tag
0 3030
The HTML DT <dt> tag is used to define a term in the description list present in an HTML document. The <dl>, <dt> and <dd> tags are used to define description list.
<dl> tag | It defines the description list in an HTML document |
<dt> tag | It defines data term in an HTML document |
<dd> tag | It defines description in an HTML document |
Code:
<!DOCTYPE html>
<html>
<head>
<title> Example of HTML dt tag </title>
</head>
<body>
<dl>
<dt>HTML</dt>
<dd>is a markup language.</dd>
<dt>Python </dt>
<dd>is a programming language.</dd>
<dt>JavaScript</dt>
<dd>is a scripting language.</dd>
<dt>SQL</dt>
<dd>is a Structured Query Language.</dd>
</dl>
</body>
</html>
Output:
Share:
Comments
Waiting for your comments