<dd> HTML Tag
In this article I will discuss the dd tag of HTML.
The HTML dd
tag is used for specifying a definition description 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,or we can say that The <dd> tag is used to describe an item in a definition list.This tag is used in conjunction with <dl> (defines the definition list) and <dt> (defines the item in the list).Inside a <dd> tag you can put paragraphs, line breaks, images, links, lists, etc.
Example
<html>
<head>
<title></title>
</head>
<body>
<dl>
<dt>HTML</dt>
<dd>
Hypertext Markup Language
</dd>
<dt>HTTP</dt>
<dd>
Hypertext Transfer Protocol
</dd>
<dt>SMTP</dt>
<dd>
Simple Mail Transfer Protocol
</dd>
<dt>XHTML</dt>
<dd>
eXtensible Hypertext Markup Language
</dd>
<dt>FTP</dt>
<dd>
File Transfer Protocol
</dd>
</dl>
</body>
</html>
|
Output
- HTML
- Hypertext Markup Language
- HTTP
- Hypertext Transfer Protocol
- SMTP
- Simple Mail Transfer Protocol
- XHTML
- Extensible Hypertext Markup Language
- FTP
- File Transfer Protocol
Ask Your Question
Got a programming related question? You may want to post your question here