Diff of The dd element

The section is located at: The elements of HTML → Grouping content → The dd element

Differences between HTML Standard and W3C HTML

Note: This site reformats HTMLs to reduce unnecessary diffs. The following HTMLs are not equal to the specifications. More info.

All of diffs are generated automatically from WHATWG HTML Standard and W3C HTML retrieved at . More info.

WHATWG HTML StandardW3C HTML
The dd elementThe dd element
<h4>4.4.11 The dd element</h4><h4>4.4.11. The dd element</h4>
<dl class="element"><dl class="element">
<dt> <dt>
Categories: Categories:
</dt> </dt>
<dd> <dd>
None. None.
</dd> </dd>
<dt> <dt>
Contexts in which this element can be used: Contexts in which this element can be used:
</dt> </dt>
<dd> <dd>
After dt or dd elements inside dl elements. After dt or dd elements inside dl elements.
</dd> </dd>
<dd>
After dt or dd elements inside div elements that are children of a dl element.
</dd>
<dt> <dt>
Content model: Content model:
</dt> </dt>
<dd> <dd>
Flow content. Flow content.
</dd> </dd>
<dt> <dt>
Tag omission in text/html: Tag omission in text/html:
</dt> </dt>
<dd> <dd>
A dd element's end tag can be omitted if the dd element is immediately followed by another dd element or a dt element, or if there is no more content in the parent element. A dd elements end tag may be omitted if the dd element is immediately followed by another dd element or a dt element, or if there is no more content in the parent element.
</dd> </dd>
<dt> <dt>
Content attributes: Content attributes:
</dt> </dt>
<dd> <dd>
Global attributes Global attributes
</dd> </dd>
<dt>
Allowed ARIA role attribute values:
</dt>
<dd>
None
</dd>
<dt>
Allowed ARIA state and property attributes:
</dt>
<dd>
Global aria-* attributes
</dd>
<dd>
Any aria-* attributes applicable to the default or allowed roles.
</dd>
<dt><dt>
DOM interface: DOM interface:
</dt> </dt>
<dd> <dd>
Uses HTMLElement. Uses HTMLElement.
</dd> </dd>
</dl></dl>
<p>The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element).</p><p>The dd element represents a description, part of a term-description group in a description list (dl element).</p>
<div class="example"><div class="example">
<p>A dl can be used to define a vocabulary list, like in a dictionary. In the following example, each entry, given by a dt with a dfn, has several dds, showing the various parts of the definition.</p> <p>In this example the dd elements represent the keys that invoke the keycodes indicated in the dt elements:</p>
<pre>&lt;dl&gt; <pre>&lt;dl&gt;
&lt;dt&gt;&lt;dfn&gt;happiness&lt;/dfn&gt;&lt;/dt&gt; &lt;dt&gt;37&lt;/dt&gt;
&lt;dd class="pronunciation"&gt;/'hæ p. nes/&lt;/dd&gt; &lt;dd&gt;Left&lt;/dd&gt;
&lt;dd class="part-of-speech"&gt;&lt;i&gt;&lt;abbr&gt;n.&lt;/abbr&gt;&lt;/i&gt;&lt;/dd&gt; &lt;dt&gt;38&lt;/dt&gt;
&lt;dd&gt;The state of being happy.&lt;/dd&gt; &lt;dd&gt;Right&lt;/dd&gt;
&lt;dd&gt;Good fortune; success. &lt;q&gt;Oh &lt;b&gt;happiness&lt;/b&gt;! It worked!&lt;/q&gt;&lt;/dd&gt; &lt;dt&gt;39&lt;/dt&gt;
&lt;dt&gt;&lt;dfn&gt;rejoice&lt;/dfn&gt;&lt;/dt&gt; &lt;dd&gt;Up&lt;/dd&gt;
&lt;dd class="pronunciation"&gt;/ri jois'/&lt;/dd&gt; &lt;dt&gt;40&lt;/dt&gt;
&lt;dd&gt;&lt;i class="part-of-speech"&gt;&lt;abbr&gt;v.intr.&lt;/abbr&gt;&lt;/i&gt; To be delighted oneself.&lt;/dd&gt; &lt;dd&gt;Down&lt;/dd&gt;
&lt;dd&gt;&lt;i class="part-of-speech"&gt;&lt;abbr&gt;v.tr.&lt;/abbr&gt;&lt;/i&gt; To cause one to be delighted.&lt;/dd&gt;
&lt;/dl&gt;</pre>&lt;/dl&gt;</pre>
</div></div>

Navigation

Legends:

WHATWG HTML Standard

A section available at WHATWG HTML Standard.

W3C HTML

A section available at W3C HTML.

Previous section
WHATWG HTML StandardW3C HTMLThe dt element
Next section
WHATWG HTML StandardW3C HTMLThe figure element