dt element | dt object
[This documentation is preliminary and is subject to change.]
Indicates a definition term within a definition list.
![]() |
Standards information
- HTML 4.01 Specification, Section 10.3
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | block |
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
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>.
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>.
- 7/19/2010
- Mr. Raymond Kenneth Petry
- 7/19/2010
- Mr. Raymond Kenneth Petry
