|
Posted by Harlan Messinger on 12/28/06 05:40
dorayme wrote:
> 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.
MAP is inline, and BODY can't have inline children under Strict.
I'm trying to figure out what your page does.
[Back to original message]
|