1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang=en>
<head>
<title>DD - Definition Description</title>
<link rev=Made href="mailto:liam@htmlhelp.com">
<link rel=Start href="../index.html">
<link rel=Glossary href="../../glossary/glossary.html">
<link rel=Copyright href="../../copyright.html">
<link rel=StyleSheet href="../style.css" type="text/css">
<link rel=StyleSheet href="../aural.css" type="text/css" media=aural>
<meta name="author" content="Liam Quinn">
<meta name="description" content="A description of HTML 4.0's DD element for descriptions in a definition list.">
<meta name="keywords" content="DD, dd element, definition description, definitions, definition list, lists, HyperText Markup Language, HTML, HTML4, HTML 4.0, Web Design Group, WDG, <dd> tag, <DD> tag">
</head>
<body>
<h2><img src="../wdglogo1.gif" width=250 height=83 alt="The Web Design Group"></h2>
<h1>DD - Definition Description</h1>
<table>
<tr valign=top>
<th>Syntax</th>
<td><strong class=required><DD></strong>...</DD></td>
</tr>
<tr valign=top>
<th>Attribute Specifications</th>
<td>
<ul>
<li><a href="../attrs.html">common attributes</a></li>
</ul>
</td>
</tr>
<tr valign=top>
<th>Contents</th>
<td><a href="../inline.html">Inline elements</a>, <a href="../block.html">block-level elements</a></td>
</tr>
<tr valign=top>
<th>Contained in</th>
<td><a href="dl.html">DL</a></td>
</tr>
</table>
<p>The <strong class=html>DD</strong> element provides the <em>definition</em> of a <a href="dt.html">term</a> in a <a href="dl.html">definition list</a>. The closing tag for <strong class=html>DD</strong> is optional, but its use prevents common browser bugs with <a href="../../css/">style sheets</a>.</p>
<p><strong class=html>DD</strong> may contain <a href="../block.html">block-level elements</a> such as <strong class=html><a href="../block/p.html">P</a></strong>, <strong class=html><a href="../block/h2.html">H2</a></strong>, <strong class=html><a href="../tables/table.html">TABLE</a></strong>, and <strong class=html><a href="dl.html">DL</a></strong>. This allows definition lists to be nested, as in the following example:</p>
<pre class=example><code class=html><DL>
<DT><A NAME="spanning-tree">Spanning tree</A></DT>
<strong><DD></strong>
<P>
A spanning tree of a graph is a <A HREF="#tree">tree</A>
that contains all the vertices of the graph. There are two
main types of spanning trees:
</P>
<DL>
<DT>BFS spanning tree</DT>
<strong><DD></strong>
A spanning tree formed by a breadth-first search on the graph.
<strong></DD></strong>
<DT>DFS spanning tree</DT>
<strong><DD></strong>
A spanning tree formed by a depth-first search on the graph.
<strong></DD></strong>
</DL>
<strong></DD></strong>
<DT><A NAME=tree>Tree</A></DT>
<strong><DD></strong>
<P>
A tree is a connected, undirected graph without cycles.
</P>
<strong></DD></strong>
</DL></code></pre>
<p>A <strong class=html>DD</strong> element should generally be preceded by a <strong class=html><a href="dt.html">DT</a></strong> element that gives the term defined by the <strong class=html>DD</strong>. A single definition term may have multiple definitions associated with it, and a single definition may have multiple terms.</p>
<h2>More Information</h2>
<ul>
<li><a href="http://www.w3.org/TR/REC-html40/struct/lists.html#edef-DD">DD in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTML4.0 Recommendation</a></li>
<li><a href="http://www.w3.org/TR/REC-html32#dl">DD in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTML3.2 Recommendation</a></li>
<li><a href="http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.5">DD in HTML2.0 Standard</a></li>
<li><a href="../../wilbur/list/dd.html">DD in <abbr class=initialism title="Web Design Group">WDG</abbr> HTML3.2 Reference</a></li>
<li><a href="http://www.hut.fi/u/jkorpela/HTML3.2/5.17.html">DD in <cite>Learning HTML3.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>
<p class=toolbar><a href="http://www.htmlhelp.com/"><img src="../wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"></a> <a href="../index.html" rel=Start>HTML4.0Reference</a>~ <a href="../olist.html">ElementsbyFunction</a>~ <a href="../alist.html">ElementsAlphabetically</a></p>
<p class=copyright><a href="../../copyright.html">Copyright </a> 1998 Liam Quinn. All rights reserved.</p>
</div>
</body>
</html>
|