Reply to <map> and Strict 4.01

Your name:

Reply:


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

[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

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