HTML Tag Reference - HTML tag <dd>








<dd> is the definition description, and it is used in conjunction with the <dl> and <dt> elements. The <dl> element is a definition list to contain multiple definition terms(<dt>) along with definition descriptions(<dd>).

Browser compatibility

<dd> Yes Yes Yes Yes Yes

Global Attributes

The <dd> tag supports the Global Attributes in HTML.

Event Attributes

The <dd> tag supports the Event Attributes in HTML.





Default CSS Settings

dd { 
    display: block;
    margin-left: 40px;
}

Example

A demo showing how to use <dd> tag.

<html>
<body>
     <dl>
          <dt>TABLE</dt>
          <dd>an html element.</dd>
          <dt>border-color</dt>
          <dd>a style sheet property.</dd>
          <dt>innerText</dt>
          <dd>a JavaScript property.</dd>
          <dt>cloneNode()</dt>
          <dd>a JavaScript method.</dd>
     </dl><!--from w ww. ja v a2 s . c o m-->
</body>
</html>

Click to view the demo