par
bunk » 01 mai 2006, 23:47
Bonsoir,
j'utilise un petit bout de code en javascript, je suis pas tres opérationel dans le domaine, le script fonctionne très bien mais une ligne n'est pas reconnu comme valide par le validator de W3
voila la ligne en question :
<script language="JavaScript" type="text/javascript">
document.write('<a href=' + Crypt(a) + aro + '><?php echo $var26; ?></a>');
</script>
et voila l'erreur de W3 :
document.write('<a href=' + Crypt(a) + aro + '>Contact</a>');
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
En fait il me dit que je ferme la balise <a> mais que je ne l'ai pas ouvert, est la facon de l'ecrire ?
D'avance merci