mam taki kod:
<div style="text-align: center" > <img src="obraz/11.jpg" usemap="#mapa" style="border: 0px;" width="550" height="391" alt="" /> <map name="mapa" > <area shape="rect" coords="146,206,270,336" href="index.php?go=2" alt="f11" title="Projekt." /> <area shape="rect" coords="18,207,144,345" href="index.php?go=3" alt="f12" title="Projekt." /> <area shape="rect" coords="14,45,143,203" href="index.php?go=4" alt="f13" title="Projekt." /> <area shape="rect" coords="147,41,268,175" href="index.php?go=7" alt="f14" title="Projekt." />
niestety walidator W3C podaje błąd:
<map name="mapa" > The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Znalazłem opis że HTML 4.01 zamiast name zaleca id
Gdy zmieniam <map name="mapa" > na <map id="mapa" > to nie pokazuje błędu ale pada cała mapa.
Czy ktoś wie gdzie robię błąd;