mozilla

Revision 79209 of <dt>

  • Revision slug: HTML/Element/dt
  • Revision title: dt
  • Revision id: 79209
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment 66 words added, 26 words removed

Revision Content

The HTML Definition Term Element (<dt>) identifies a term in a {{ HTMLElement("dl") }}. This element can occur only as a child element of a definition list and it has to be followed by a {{ HTMLElement("dd") }} element.

  • Allowed content: inline
  • Allowed in: {{ HTMLElement("dt") }}

DOM Interface

This element implements the HTMLElement interface.

Implementation note: up to Gecko 1.9.2 included, Firefox implements the HTMLSpanElement interface for this element.

 

Example

For example see definition list.

See Also

  • {{ HTMLElement("dd") }}, {{ HTMLElement("dl") }}

 

{{ HTML:Element_Navigation() }}

{{ languages( { "pl": "pl/HTML/Element/dt" } ) }}

Revision Source

<p>The HTML Definition Term Element (<span style="font-family: Courier New;">&lt;dt&gt;</span>) identifies a term in a {{ HTMLElement("dl") }}. This element can occur only as a child element of a definition list and it has to be followed by a {{ HTMLElement("dd") }} element.</p>
<ul> <li>Allowed content: <a href="/en/HTML/Inline_elements" title="en/HTML/Inline_elements">inline</a></li> <li>Allowed in: {{ HTMLElement("dt") }}</li>
</ul>
<h3 class="editable">DOM Interface</h3>
<p>This element implements the <code><a href="/en/DOM/element" title="en/DOM/element">HTMLElement</a></code> interface.</p>
<div class="note">
<p><strong>Implementation note: </strong>up to Gecko 1.9.2 included, Firefox implements the <a href="/en/DOM/span" title="en/DOM/span"><span style="font-family: Courier New;">HTMLSpanElement</span></a> interface for this element.</p>
</div>
<p> </p>
<h3 name="Example">Example</h3>
<p>For example see <a href="/en/HTML/Element/dl#Examples" title="en/HTML/Element/dl#Examples">definition list</a>.</p>
<h3 name="See_Also">See Also</h3>
<ul> <li>{{ HTMLElement("dd") }}, {{ HTMLElement("dl") }}</li>
</ul>
<p> </p>
<p>{{ HTML:Element_Navigation() }}</p>
<p>{{ languages( { "pl": "pl/HTML/Element/dt" } ) }}</p>
Revert to this revision