HTML <dd> Tag

定义和用法

<dd> 标签用于在描述列表中描述术语/名称。

<dd> 标签与 <dl>(定义描述列表)和 <dt>(定义术语/名称)一起使用。

in <dd> In the tag, you can place paragraphs, line breaks, images, links, lists, and more.

See also:

HTML tutorial:HTML lists

HTML DOM reference manual:DD object

Example

Description list, containing terms and descriptions:

<dl>
  <dt>Computer</dt>
  <dd>instruments used for calculation ... ...</dd>
  <dt>Display</dt>
  <dd>devices that display information visually ... ...</dd>
</dl>

Try it yourself

Global attributes

<dd> The tag also supports Global attributes in HTML.

event attributes

<dd> The tag also supports Event attributes in HTML.

Default CSS settings

Most browsers will display the following default values <dd> Element:

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

Try it yourself

Browser support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support