Skip to content

05. Definition Lists

Definition lists (<dl>) are used for displaying term-definition pairs, such as glossaries, metadata, or key-value relationships. They consist of terms (<dt>) and definitions (<dd>), providing a semantic way to structure definitions and descriptions.

<dl>
<dt>Term</dt>
<dd>Definition of the term</dd>
<dt>Another Term</dt>
<dd>Definition of another term</dd>
</dl>
<dl>
<dt>HTML</dt>
<dd>HyperText Markup Language</dd>
<dt>CSS</dt>
<dd>Cascading Style Sheets</dd>
</dl>
<dl>
<dt>Author</dt>
<dd>John Doe</dd>
<dt>Published</dt>
<dd>January 2024</dd>
</dl>
<dl>
<dt>Browser</dt>
<dd>Chrome</dd>
<dd>Firefox</dd>
<dd>Safari</dd>
</dl>