HTML DT Tag

HTML DT Tag <dt> is used to identify an item in a definition list.

HTML DT Tag is used with the HTML DD Tag <dd> (characterize items in list of definitions) and with HTML DL Tag <dl> (list of definition).

DT Tag is a closed tag and needs to be closed using HTML closing DT Tag </dt>


Syntax of HTML DT Tag

<dt>
Item goes here
</dt>

Example of HTML DT Tag

HTML dt Tag Code Output
<dl>
<dt>Sugar</dt>
<dd>Sweet in Taste<dd>
<dt>Salt</dt>
<dd>Salty in Taste</dd>
</dl>
Sugar
Sweet in Taste
Salt
Salty in Taste

In the example output observe that we have used the HTML dt tag to identify items that we have described in the list.

Also note the usage of HTML DD Tag and HTML DL Tag in the example.

HTML dt tag supports all HTML Global Attributes and HTML Event Attributes.


HTML DT Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Tagged , , , , , , , , , , , , , , . Bookmark the permalink.