The Definition Description Tag

ken's picture

Opening tag : <DD>
Closing tag: -

Purpose:
The DD tag is used to describe a tag used within a list of defined terms. The DD tag needs to occur within DL tags, and should follow the DT tag - which defines the tag being described by the DD tag. In reality, this tag is rarely needed or used.

Attributes:
class=class
- Specifies a class of formatting, normally from the CSS.

dir=direction
- Useful for languages which are read from right to left.

event=Javascript
- Allows javascript to be associated to an event.

id=name
- Associating an id to a DD tag allows you to dynamically affect the style of the DD tag.

lang=language
- Specifies the language of the text within the definition.

style=style
- Allows a style to be defined to override other styling instructions.

title=string
- A title can add more information about the text, while it doesn't appear on the page, it can add keywords to your page.

Example:

<DL>
<DT>Animal
<DD>A creature that moves.
<DT>Plant
<DD>This doesn't move as quickly!
</DL>

Related Tags:

<DL></DL> - Definition List Tag.
<DT></DT> - Definition Tag Tag.

Back to:
Alphabetical Guide
Guide By Type