English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML <dd> element (HTML Description Element) is used to indicate the description of a term within a description list (dl) element. This element can only appear as a child of a description list element and must follow a <dt> element.
Description list with items and descriptions:
!doctype html <html> <head> <meta charset="UTF-8"> <title>HTML5 dd tag usage (Basic Tutorial Website oldtoolbag.com)</title> </head> <body> <dl> <dt>Term1</dt> <dd>Description of Term1<dd> <dt>Term2</dt> <dd>Description of Term2<dd> </dl> </body> </html>Test to see ‹/›
In this HTML5In the document example, we created a list containing2a list of descriptions for terms (Term1 and Term2and their corresponding descriptions are located within the <dd> tag.
IEFirefoxOperaChromeSafari
All major browsers support the <dd> tag.
<dd> tag is used to describe an item in a description list/name.
<dd> tag is used to describe <dl> (define a description list) and <dt> (definition item/together with the name).
Within the <dd> tag, you can place paragraphs, line breaks, images, links, lists, and more.
For each group in the description list (i.e., term/descriptions (pair), there must be at least one <dt> tag followed by at least one <dd> tag. This means you can list:
a single term followed by a single description
a single term followed by multiple descriptions
multiple terms followed by a single description
multiple terms followed by multiple descriptions
In HTML, the <dd> tag is used to describe an entry in a definition list. 4differences between1 .0
In HTML, the <dd> tag is used to describe an entry in a definition list.5 In HTML, the <dd> tag is used to describe an item in a description list/name.
<dd> tag supports HTML Global Attributes.
<dd> tag supports HTML Event Attributes.
HTML Tutorial:HTML Lists