DT (<dt>) Tag

by Monika Dadool 01-Jul-19

0 334


The <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

Program:

<!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:

DT (<dt>) Tag


Share:


Comments

    Waiting for your comments

Leave a Reply