HTML <dt> Tag

Advertisements


Description

The HTML <dt> tag is used to define the start of a term in a definition list.

A definition list is similar to other lists but in a definition list, each list item contains two entries; a term and a description.

Example

<!DOCTYPE html>
<html>
<head>
<title>HTML dt Tag</title>
</head>
<body>
<dl>
<dt>Definition List</dt>
<dd>A list of terms and their definitions/descriptions.</dd>
<dt>JAVA</dt>
<dd>Tutorial on JAVA Programming Language.</dd>
<dt>Android</dt>
<dd>Tutorial on Android Operating System.</dd>
</dl>
</body>
</html>

This will produce following result:

Definition List
A list of terms and their definitions/descriptions.
JAVA
Tutorial on JAVA Programming Language.
Android
Tutorial on Android Operating System.

Global Attributes

This tag supports all the global attributes described in - HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in - HTML Events Reference

Browser Support

ChromeFirefoxIEOperaSafariAndroid
YesYesYesYesYesYes

html_tags_reference.htm