HTML <dd> tag
The <dd> tag describes about the short term(i.e. <dt> element) in the description list.
You must –
- Code the <dd> and <dt> element inside the <dl> tag
- Code the <dt> element before the <dd> tag
Syntax:
<dd>text…</dd>
Example
<dl> <dt><b>AIR</b></dt> <dd>All India Radio (Broadcasting)</dd> <dt><b>CDMA</b></dt> <dd>Code Division Multiple Access</dd> <dt><b>DVD</b></dt> <dd>Digital Versatile Disk</dd> <dt><b>FAO</b></dt> <dd>Food and Agriculture Organisation</dd> </dl>
Default CSS Value
display: block;
margin-left: 40px;
Difference between HTML4.01, XHTML and HTML5
HTML4 | XHTML | HTML5 |
---|---|---|
<dd> tag creates the definition list | None | <dd> tag creates the description list |
Attributes used with <dd> tag
NONE
Global Attributes
The <dd> tag supports Global attributes.
Event Attributes
The <dd> tag supports Event attributes.
Supporting Browsers
Related Tags
<dl> & <dt> tags.