<p>The <strong class=html>DL</strong> element defines a <em>definition list</em>. An entry in the list is created using the <strong class=html><a href="dt.html">DT</a></strong> element for the term being defined and the <strong class=html><a href="dd.html">DD</a></strong> element for the definition of the term.</p>
<p>A definition list can have multiple terms for a given definition as well as multiple definitions for a given term. Authors can also give a term without a corresponding definition, and vice versa, but such a structure rarely makes sense.</p>
In HTML, block-level elements may generally contain
inline elements and other block-level elements. They are
usually formatted differently than inline elements,
typically on a new line in visual browsers.
</P>
</DD>
<DT>Inline elements</DT>
<DT>Text-level elements</DT>
<DD>
<P>
Inline (or text-level) elements generally only contain
character data and other inline elements.
</P>
</DD>
<strong></DL></strong></code></pre>
<p>The <strong class=html>DL</strong> element can be adapted for use with structures that are not strict terms and definitions, a practice that is justified when other <abbr class=initialism title="HyperText Markup Language">HTML</abbr> elements cannot adequately describe a structure. Some examples follow:</p>
<p>Note the use of the <strong class=html><a href="../attrs.html#class">CLASS</a></strong> attribute in the preceding examples. This allows the author to easily suggest, through <a href="http://www.htmlhelp.com/reference/css/">style sheets</a>, a distinguishing presentation for different kinds of definition lists.</p>
<div class=transitional>
<p>In addition to the <a href="../attrs.html">common attributes</a> shared by most elements, <strong class=html>DL</strong> takes a <strong class=html>COMPACT</strong> attribute. This attribute, <a href="../deprecated.html">deprecated</a> in HTMLá4.0 and poorly supported among browsers, suggests that visual browsers render the list compactly, perhaps with reduced spacing between items.</p>
</div>
<h2>More Information</h2>
<ul>
<li><a href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-DL">DL in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTMLá4.0 Recommendation</a></li>
<li><a href="http://www.w3.org/TR/REC-html32#dl">DL in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTMLá3.2 Recommendation</a></li>
<li><a href="http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.5">DL in HTMLá2.0 Standard</a></li>
<li><a href="http://www.htmlhelp.com/reference/wilbur/list/dl.html">DL in <abbr class=initialism title="Web Design Group">WDG</abbr> HTMLá3.2 Reference</a></li>
<li><a href="http://www.hut.fi/u/jkorpela/HTML3.2/5.21.html">UL in <cite>Learning HTMLá3.2 by Examples</cite></a></li>
</ul>
<div class=footer>
<address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> <<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address>