First of all, I would like to say that I was simply trying to convert my way of thinking from HTML 4.01 Strict to XHTML 1.1 . This problem is the only thing that still puzzles me about XHTML.
<!-- HTML 4.01 Strict Valid Version -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
<html>
<head>
<title>Hello!</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body style="background-color: #00ffff; color: #0000ff">
<h1><a href="#k">Within!</a> <a href="
<p>a </p>
<p><img usemap="#doodles" style="border-width:0px" src="packages.jpg" alt="packages"></p>
<p>b </p>
<p>c </p>
<p>d </p>
<p>e </p>
<p>f </p>
<p>g </p>
<p>h </p>
<p>i </p>
<p>j </p>
<p><a name="k"></a>Within the page</p>
<p>
<map name="doodles">
<area shape="rect" alt="Package 58" coords="290,75,310,95" href="doodle.html">
<area shape="rect" alt="Hyman Stadium" coords="69,10,215,42" href="doodle2.html">
</map>
</p>
</body>
</html>
<!-- XHTML 1.1 Valid Version -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "
<html xmlns="
xml:lang="en">
<head>
<title>Hello!</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252" />
</head>
<body style="background-color: #00ffff; color: #0000ff">
<h1><a href="#k">Within!</a> <a href="
<p>a </p>
<p><img usemap="doodles" style="border-width:0px" src="packages.jpg" alt="packages" /></p>
<p>b </p>
<p>c </p>
<p>d </p>
<p>e </p>
<p>f </p>
<p>g </p>
<p>h </p>
<p>i </p>
<p>j </p>
<p><a id="k"></a>Within the page</p>
<p>
<map id="doodles">
<area shape="rect" alt="Package 58" coords="290,75,310,95" href="doodle.html" />
<area shape="rect" alt="Hyman Stadium" coords="69,10,215,42" href="doodle2.html" />
</map>
</p>
</body>
</html>
I hope you can help me. Thanks.