dl tag
dt tag
li tag
ol tag
ul tag
TAG: dd
<dd>
Available in versions: 2.0, 3.2, 4.0
Browser compatibility: Explorer 4, 5 Netscape 4, 6
The
<dd>
tag is used to create a definition list which is a type of listing where a term or phrase is followed by a definition or explanation. The
dd
tag presents the definition. It must be used with the
dt
tag which presents the term and the
dl
tag which delimits the start and stop of the definition list.
The exact appearance of a definition list can be browser dependent. Most browsers place the term on the left margin and then the definition is placed on the next line and the entire text is indented. However, if the term is short (3 characters or less) the definition may start on the same line as the term. The list is usually separated from preceding and following text by paragraph breaks.
There is no closing tag.
Core Attributes
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Attributes
None.
Code:
Definition Lists:
<dl>
<dt>dl tag
<dd>definition list start and stop delimiter.
<dt>dt tag
<dd>presents the term or phrase to be defined.
<dt>dd tag
<dd>presents the definition for the term or phrase.
</dl>
Output:
Definition Lists:
dl tag
definition list start and stop delimiter.
dt tag
presents the term or phrase to be defined.
dd tag
presents the definition for the term or phrase.
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information