Reply to Re: <map> and Strict 4.01

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация