Home >> HTML 5 >> dt Tag in HTML 5

dt Tag in HTML 5

The <dt> tag in HTML stands for data term.

For example:-

<!DOCTYPE html>
<html>
<head>
   <title>DT Tag</title>
</head>
<body>
   <h3>The dt element</h3>
   <dl>
       <dt>New Delhi</dt>
       <dd>New Delhi is the capital of India</dd>
       <dt>Lucknow</dt>
       <dd>New Delhi is the capital of Uttar Pradesh</dd>
   </dl>
</body>
</html>

Output
The dt element
New Delhi
   New Delhi is the capital of India
Lucknow
   New Delhi is the capital of Uttar Pradesh

Post Your Comment

Next Questions
em Tag
embed Tag
fieldset Tag
figcaption Tag
figure Tag
font Tag
footer Tag
form Tag
frame Tag
frameset Tag
Heading Tag
head Tag
header Tag
hr Tag
html Tag
i Tag
iframe Tag
img Tag
input Tag
ins Tag
kbd Tag
label Tag
legend Tag
li Tag
link Tag

Copyright ©2022 coderraj.com. All Rights Reserved.