1 out of 2 rated this helpful - Rate this topic

dt element | dt object

[This documentation is preliminary and is subject to change.]

Indicates a definition term within a definition list.

HTML 4.01 Specification, Section 10.3

Standards information

HTML information

Closing Tagrequired
CSS Displayblock

DOM Information

Inheritance Hierarchy

 Node
    dt
 Element
    dt

Remarks

Examples

This example uses the DT element with the DD and DL elements to create a definition list.


<DL>
<DT>Cat
<DD>A small domesticated mammal.
<DT>Lizard
<DD>A reptile generally found in dry areas.
</DL>

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
deterioration - closing tag
N.B. #1. IE7,8/8 does not appear to actually require the closing tag ... rather it strips them-all when rendering files that had them...

N.B. #2. This stripping results in missing /DT before DL, which corrupts CONTENTEDITABLE DL-parentElement, (Worse than IE7).

(It also ~sometimes~ appends a /DT around the /DL, e.g. resulting in <DT>text <DL>firstChild<DT>text</DT></DL></DT>)

Ultimately it appears to be that the only /DD,/DT closing tag required is that which precedes the /DL closing tag: </DT></DL>.