Bonjour,
Je n'arrive pas à trouver la bonne syntaxe qui fonctionne pour utiliser la balise map, voici mon code :
Ca fonctionne mais lorsque je vais valider ma page sur le W3C, j'ai ces erreurs :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <map name="logo_w3c" id="maMap"> <area shape="rect" coords="0,0,31,31" href="http://www.w3c.org" alt="la partie gauche du logo du w3c" /> </map> <img src="images/header.jpg" alt="" width="748" height="115" usemap="#logo_w3c" />
Error Line 14 column 12: there is no attribute "name".
Error Line 17 column 127: character "#" is not allowed in the value of attribute "usemap".
Warning Line 17 column 127: reference to non-existent ID "#logo_w3c".
mais quand j'enleve name, que j'enleve le # ca ne marche plus...
Bref quelqu'un connait la syntaxe correcte pour XHTML 1.1 ?
merci
++
Partager