dl element | dl object
[This documentation is preliminary and is subject to change.]
Denotes a definition list.
![]() ![]() |
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 10.3
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | block |
DOM Information
Inheritance Hierarchy
Remarks
Examples
This example uses the DL element with the DD and DT 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
anomaly - stacked DL - mis-inherits - HTML
1.
MSIE 6/7 render
deletes /DD-, /DT-closures, (except the last before /DL)...!
2. Whence, DL stacks improperly in MSIE 6/7 HTML:-- ie. DL enclosed in DL takes the DL-DD|DT-margin/padding even if closed /DD|/DT...!
3. InnerHTML can be replaced to recover /DD-, /DT-closures, but render tends to collapse.
(contenteditable does-not have these anomalies; but other reasons to retain closures.)
4. MSIE-8=7 (and affects MSIE-6) dislocates the pointer when Clicked right-of DL-firstchild text.
- 9/3/2008
- Mr. Raymond Kenneth Petry
- 10/15/2009
- Mr. Raymond Kenneth Petry

