Language References
Specifies a term in a definition list. | HTML 2, 3.2, 4, 4.01, 5 |
HTML Syntax
<dt
class = classname
id = value
style = css properties
title = text
event = script
>
The DT element can only be used within a DL element. Usually a term to be defined in the DT tag is followed by a DD element, that contains the definition description of the term.
The DT element does not require a closing tag. This element is a block element.
DT Members
The following shows how the DT element may be used.
<dl>
<dt>W3C
<dd>World Wide Web Consortium
<dt>HTML
<dd>HyperText Markup Language
<dt>CSS
<dd>Cascading Style Sheets
</dl>
which would render on a Web page as
- W3C
- World Wide Web Consortium
- HTML
- HyperText Markup Language
- CSS
- Cascading Style Sheets
DD DL Using Lists in HTML