<class home>  <html part II>   <back   next>

html continued

Definition Lists:

These create lists that look like terms and definitions in for example, a dictionary.
needs a closing tag.
<dl> tag
You specify terms individually with an<dt> tag.
You specify definitions with the <dd> tag.
And close </dl>


example>>>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<title>fruit</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<dl>
<dt>
<strong>apple</strong>
<dd>
small red fruit from the apple tree.
<dt>
<strong>orange</strong>
<dd>
small orang fruit from the orange tree.
<dt>
<strong>pear</strong>
<dd>
sweet browny-yellow fruit from the pear tree.
<dt>
<strong>banana</strong>
<dd>
yellow elongated fruit from the banana bush.
</dl>

</body>
</html>