W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

Re: [VE][64] document type does not allow element "MAP" here.

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 31 Aug 2007 19:02:20 +0300 (EEST)
To: Vivek shukla <vivek.shukla@monsoonconsulting.com>
cc: www-validator@w3.org
Message-ID: <Pine.SOC.4.64.0708311858120.28192@mustatilhi.cs.tut.fi>

On Thu, 30 Aug 2007, Vivek shukla wrote:

> It is showing error in map but I think every thing is ok in code

It's not OK.

> Validating http://www.mewiq.com:8080/heartplays/
> Error [64]: "document type does not allow element X here"

The MAP elements appear after the last </tr> tag and before the </table> 
tag. This is syntactically invalid. You need to move the elements inside a 
TD element, which in turn needs to be inside a TR which is inside TABLE, 
or move them outside the TABLE element, after the </table> tag.

Quite apart from this, using MAP elements with single AREA elements is 
rather pointless and creates accessibility problems. Using just images as 
links would create a similar user interface more naturally.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Friday, 31 August 2007 16:02:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC