<dl>: The DL Element

Last updated: 2026-10-13

<dl>The DL Element

A description list (term–description pairs), used for glossaries or key-value metadata.

CategoryLists
Content ModelFlow content
Allowed ParentsAny element that accepts flow content
Content TagYes — requires closing </dl> tag
StatusStandard

📝 Syntax

<dl>
  <dt>Term</dt>
  <dd>Description</dd>
</dl>

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
<dl> ✓ v1 ✓ v12 ✓ v1 ✓ v1 ✓ v1
Supported in all major browsers
Tip: dl's direct children should be dt (term) and dd (description), not ul/li.

❓ FAQ

QMust dl pair dt and dd?
AStructurally a <dl> holds several 'dt + dd' groups: dt is the term, dd the description. One dt may be followed by multiple dds (a term with multiple meanings), and multiple dts may share one dd (synonyms); but neither dt nor dd may appear outside a dl.
QIs dl only for glossaries?
ANot at all: metadata key-value pairs (e.g. 'Published: 2026-10-09'), FAQs (question as dt, answer as dd), and product spec sheets all fit. The criterion is a 'name-value' structure — any paired data can be semantically marked up with dl.
QCan dl contain div directly?
AYes — HTML5 allows <div> inside <dl> to wrap each dt+dd group for styling or microdata. The div must wrap a complete group; you cannot split dt and dd into different divs.
More case studies coming soon — check back later.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏