Re: Comments on Image maps in HTML5, coordinate and possible validator issues
"Michael E. Ewing owner, Graphic Information Sciences" <[hidden email]>, 2012-07-11 08:00 +0000:
> Sample code:
> (this validates in 4.01 transitional, but not in HTML5):
> <MAP NAME="Map1">
> <AREA SHAPE="RECT" COORDS="25, 206, 90, 228" HREF="index.htm" alt="Our Home Page">
> .. . .
> (This validates in HTML5 and in 4.01 transitional:)
The only reason it validates in the HTML4 validator is that the HTML4
validator doesn't actually check the value of the coords attribute at all.
It'll accept any value you put there -- e.g., coords="foo + bar / baz".
The HTML4 spec doesn't actually unambiguously state the precise
requirements on the value of coords. What it does have is here: