5568 sujets

Sémantique web et HTML

Bonjour, est-ce quelqu'un pourrait me dire qu'elle est mon erreur dans ce code ?
Je m'arrache les cheveux

	<div id="nav">	<img src="/wp/wp-content/themes/simple/images/ag-2_01.gif" alt="blabla"/>
		<div id="menu">
		<a href="/wp/" onmouseover="changeImages('ag_2_02', '/wp/wp-content/themes/simple/images/ag-2_02-over.gif'); return true;" onmouseout="changeImages('ag_2_02', '/wp/wp-content/themes/simple/images/ag-2_02.gif'); return true;" onmousedown="changeImages('ag_2_02', '/wp/wp-content/themes/simple/images/ag-2_02-over.gif'); return true;" onmouseup="changeImages('ag_2_02', '/wp/wp-content/themes/simple/images/ag-2_02-over.gif'); return true;"> <img id="ag_2_02" src="/wp/wp-content/themes/simple/images/ag-2_02.gif" width="60" height="19" border="0" alt="projets"></img></a>

		<a href="?page_id=12" onmouseover="changeImages('ag_2_04', '/wp/wp-content/themes/simple/images/ag-2_04-over.gif'); return true;" onmouseout="changeImages('ag_2_04', '/wp/wp-content/themes/simple/images/ag-2_04.gif'); return true;" onmousedown="changeImages('ag_2_04', '/wp/wp-content/themes/simple/images/ag-2_04-over.gif'); return true;"onmouseup="changeImages('ag_2_04', '/wp/wp-content/themes/simple/images/ag-2_04-over.gif'); return true;"> <img id="ag_2_04" src="/wp/wp-content/themes/simple/images/ag-2_04.gif" width="35" height="19" border="0" alt="information"></img></a>

	<a href="/wp/?page_id=15" onmouseover="changeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06-over.gif'); return true;"onmouseout="changeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06.gif'); return true;"onmousedown="changeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06-over.gif'); return true;"onmouseup="changeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06-over.gif'); return true;"> <img id="ag_2_06" src="/wp/wp-content/themes/simple/images/ag-2_06.gif" width="62" height="19" border="0" alt="contact"></img></a></div>

	<div id="adresse">
	<a href="?page_id=13" onmouseover="changeImages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); return true;"onmouseout="changeImages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09.gif'); return true;"onmousedown="changeImages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); return true;"onmouseup="changeImages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); return true;"> <img id="ag_2_09" src="/wp/wp-content/themes/simple/images/ag-2_09.gif" width="207" height="11" border="0" alt="adresse : clichy-la-garenne"></img></a></div></div>

Modifié par nlex (09 Oct 2007 - 16:32)
merci, je venais justement de trouver cette info, mais en la corrigeant j'ai toujours des tas d'erreur…


XML Parsing Error
&#9993;
Line 71, column > 80: XML Parsing Error: attributes construct error
…Images('ag_2_04', '/wp/wp-content/themes/simple/images/ag-2_04-over.gif'); re…
Line 71, column > 80: XML Parsing Error: Couldn't find end of Start Tag a line 71
…Images('ag_2_04', '/wp/wp-content/themes/simple/images/ag-2_04-over.gif'); re…
Line 71, column > 80: XML Parsing Error: Opening and ending tag mismatch: div line 68 and a
…Images('ag_2_04', '/wp/wp-content/themes/simple/images/ag-2_04-over.gif'); re…
Line 73, column > 80: XML Parsing Error: attributes construct error
…ngeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06-over.gif');…
Line 73, column > 80: XML Parsing Error: Couldn't find end of Start Tag a line 73
…ngeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06-over.gif');…
Line 73, column > 80: XML Parsing Error: Opening and ending tag mismatch: div line 67 and a
…ngeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06-over.gif');…
Line 73, column > 80: XML Parsing Error: Opening and ending tag mismatch: body line 65 and div
…ngeImages('ag_2_06', '/wp/wp-content/themes/simple/images/ag-2_06-over.gif');…
Line 76, column > 80: XML Parsing Error: attributes construct error
…mages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); ret…
Line 76, column > 80: XML Parsing Error: Couldn't find end of Start Tag a line 76
…mages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); ret…
Line 76, column > 80: XML Parsing Error: Opening and ending tag mismatch: div line 75 and a
…mages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); ret…
Line 76, column > 80: XML Parsing Error: Opening and ending tag mismatch: html line 6 and div
…mages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); ret…
Line 76, column > 80: XML Parsing Error: Extra content at the end of the document
…mages('ag_2_09', '/wp/wp-content/themes/simple/images/ag-2_09-over.gif'); ret…[code]

toutes ces erreurs ce rapportent aux lignes de code du rollover ! ??
j'ai réussi à corriger certaines erreurs en ajoutant des espaces qui manquait devant les fonctions JS comme onmouseup par exemple…