HTML <dd> Tag
- Description:
-
The <dd> tag is used to describe an item in a definition list.
The <dd> 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 Code:
-
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl> - Result:
-
- Coffee
- - black hot drink
- Milk
- - white cold drink
- Attributes:
-
None
- Global Attributes:
-
The <dd> tag also supports the Global Attributes in HTML5
- Event Attributes:
-
The <dd> tag also supports the Event Attributes in HTML5