CKTIS / HTML
dt — a name or term in a description list
The `dt` element identifies a name or term in a `dl` description list. Following `dd` elements supply associated descriptions or values. A `dt` alone does not indicate that a term is being defined.
Version: WHATWG HTML Living Standard; index snapshot date recorded separately
Syntax
<dl>
<dt>Name</dt>
<dd>Description or value</dd>
</dl>The dt element represents the name or term in a description-list group within dl; dd represents its description or value. Lists can associate terms with definitions, metadata labels with values, or questions with answers.
Each group contains one or more dt elements followed by one or more dd elements. Several names can share descriptions. Place these elements directly in dl, or inside a div that is a direct child of dl and wraps the entire group. Do not nest dd inside dt.
A dt allows flow content, but no header, footer, sectioning-content, or heading-content descendants. It supports global attributes. It does not itself mark a term as being defined; use dfn inside dt for that meaning.
In text/html syntax, the dt end tag may be omitted only when another dt or a dd immediately follows. Explicit end tags, as in the example, make the structure easier to read.
Examples
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Description list</title>
</head>
<body>
<dl>
<dt>Format</dt>
<dd>HTML</dd>
<dt>Language</dt>
<dd>English</dd>
</dl>
</body>
</html>Result
Format HTML Language English
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.