Re: Mapping images in XHTML?

by Christopher Higgs <chiggs(at)unimelb.edu.au>

 Date:  Tue, 28 May 2002 12:50:31 +1000
 To:  Linda Mercer/Wishstar <catnip(at)ais.net>
 Cc:  hwg-techniques(at)hwg.org
 References:  ais
  todo: View Thread, Original
G'Day Linda

At 12:57 PM 27/05/2002 -0500, you wrote:
>Here's what's happening when I try to validate <http://xumbrus.com>.
>
>Line 88, column 17:
>   <map name="menu2">
>                    ^
>Error: required attribute "id" not specified
>Line 93, column 17:
>   <map name="menu1">
>                    ^
>Error: required attribute "id" not specified

XHTML expects an "id" attribute which is equivalent to the HTML "NAME" 
element.  For backward compatibility you can use them together but they 
MUST be identical.

So:
Line 88, column 17:
<map name="menu2" id="menu2">
Line 93, column 17:
<map name="menu1" id="menu1">


Chris Higgs
Manager, New Learning Technology
ILFR, University of Melbourne
http://www.landfood.unimelb.edu.au/
Phone: +61 3 8344 9749  Fax: + 61 3 9348 2156

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA