|
Posted by dorayme on 12/28/06 02:42
A small curiosity (at least for me):
I notice that when cleaning up some old stuff of mine to Strict
4.01 from Transitional, one or two pages struck "problems" of
validation, I was surprised by this not being kosher:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>...</title>
</head>
<body>
<map name="singles">
<area shape="rect" coords="200,100,300,120" href="c10.html"
alt="click here to go to page 10">
</map>
</body>
</html>
whereas if I wrap <map...>...</map> in a div, page validates and
displays as usual and works as with the Transitional doctype or
even as the invalid one above.
URL available if anyone is interested in this or needs it to test
anything. Wrapping in a div was just the first thing to pop into
my head. Is there better, given it is convenient to use <map...>?
--
dorayme
Navigation:
[Reply to this message]
|