HTML DD Tag <dd> is used to characterize an item in definition list.
HTML DD Tag is used with the HTML DL Tag <dl> (defines the list of definitions) and with HTML DT Tag <dt> (defines the items in the list of definition).
Paragraphs, links, line breaks etc can be used in the DD Tag <dd>.
DD Tag is a closed tag and needs to be closed using HTML closing DD Tag </dd>
Syntax of HTML DD Tag
<dd> Items definition goes here </dd>
Example of HTML DD Tag
HTML dd Tag Code | Output |
<dl> <dt>Sugar</dt> <dd>Sweet in Taste</dd> <dt>Salt</dt> <dd>Salty in Taste</dd> </dl> |
|
In the example output we can see that the properties of “Sugar” and “Salt” are described using the DD HTML tag.
Also note the usage of HTML DL Tag and HTML DT Tag in the example.
HTML DD tag supports all HTML Global Attributes and HTML Event Attributes.
HTML DD Tag Supporting Browsers
S. No. | Browser | Supported(Yes/No) |
1 | Internet Explorer | Yes |
2 | Firefox | Yes |
3 | Google Chrome | Yes |
4 | Opera | Yes |
5 | Safari | Yes |