Name
dl — <dl> . . . </dl>
Indicates a definition list, consisting of terms (dt
) and definitions (dd
).
Attributes
Core,Internationalization, Events
compact="compact"
Deprecated . Makes the list as small as possible. Few browsers support the
compact
attribute.
Example
<dl>
<dt>
em</dt>
<dd>
Indicates emphasized text. em elements are nearly always rendered in italics.</dd>
<dt>
strong</dt>
<dd>
Denotes strongly emphasized text. Strong elements are nearly always rendered in bold text.</dd>
</dl>
Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.