HTML <dd>
Tag
Topic: HTML5 Tags ReferencePrev|Next
Description
The <dd>
(short for definition description) tag represents the description or definition of an item in a description list. This element can contain block-level elements such as headings, paragraphs, blockquotes, etc. as well as inline-level elements such as span
, em
, strong
, etc.
The following table summarizes the usages context and the version history of this tag.
Parent: | <dl> |
---|---|
Content: | Block, inline, and text |
Start/End Tag: | Start tag: required, End tag: optional |
Version: | HTML 2, 3.2, 4, 4.01, 5 |
Syntax
The basic syntax of the <dd>
tag is given with:
The example below shows the <dd>
tag in action.
Example
Try this code »<dl>
<dt>term1</dt>
<dd>� definition1</dd>
<dt>term2</dt>
<dd>� definition2</dd>
</dl>
Tag-Specific Attributes
The <dd>
tag doesn't have any specific attribute.
Global Attributes
Like all other HTML tags, the <dd>
tag supports the global attributes in HTML5.
Event Attributes
The <dd>
tag also supports the event attributes in HTML5.
Browser Compatibility
The <dd>
tag is supported in all major modern browsers.
Basic Support—
|
Further Reading
See tutorial on: HTML Lists.