Site invalidé par W3C
Autor: Grar O.
Visited 3069,
Followers 1,
Udostępniony 0
bonjour, j'ai reconverti mon site sous Website pro, depuis le site de validation W3C relève 21 erreurs et 1 warning, comment nettoyé le code HTML 5
Posted on the
Hello Grar,
Do you refer to http://www.cyceo.fr/ ?
If yes you added following code before the HTML tag:
<scripttype="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-11420289-2']); _gaq.push(['_setDomainName', 'cyceo.fr']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getElementsByTagName('script')[0]; s[removed].insertBefore(ga, s); })(); </script>
But this code need's to be added in "Before closing the HEAD tag".
Many thanks!
***** Google Translation:
BonjourGrar,
Faites-vous référenceàhttp://www.cyceo.fr/?
Siouivous avez ajoutéle codesuivantavant la baliseHTML:
<script type="text/javascript">_gaq=_gaq| | [];_gaq.push(['_setAccount', 'UA-11420289-2']);_gaq.push(['_setDomainName»,«cyceo.fr ']);_gaq.push(['_setAllowLinker', true]);_gaq.push(['_trackPageview']);(function () {varga=document.createElement ('script ');ga.type='text /javascript';ga.async= true;ga.src= ('https:'?==document.location.protocol"https://":"http://")stats.g.doubleclick+ '.NET/dc.js';vars =document.getElementsByTagName(' script ')[0];s[removed].insertBefore(ga,s);})();</ script>
Maisce codedenécessité d'êtreajouté dans "Avantla fermeture de labalise HEAD".
Merci beaucoup!
Autor
ci dessous les erreurs détecter par validator w3c du site www.cyceo.fr, comment réparer ces erreurs?
Line 506, Column 2717: No p element in scope but a p end tag seen. …de pièces détachées</a></H2></span><span class="cf1 fs20 ff1"><br /></span></p>
Error Line 557, Column 71: End tag p implied, but there were open elements. … left;"><span class="ff1 cf3 fs36"><H1></span><span class="ff2 cf3 fs36">Répar…
Error Line 557, Column 67: Unclosed element span. …ign: left;"><span class="ff1 cf3 fs36"><H1></span><span class="ff2 cf3 fs36">R…
Error Line 557, Column 78: Stray end tag span. …><span class="ff1 cf3 fs36"><H1></span><span class="ff2 cf3 fs36">Réparer votr…
Error Line 557, Column 173: End tag h1 seen, but there were open elements. …</span><span class="ff1 cf3 fs36"></H1></span><span class="fs24 ff2 cf3"><br /…
Error Line 557, Column 168: Unclosed element span. …ement</span><span class="ff1 cf3 fs36"></H1></span><span class="fs24 ff2 cf3">…
Error Line 557, Column 180: Stray end tag span. …<span class="ff1 cf3 fs36"></H1></span><span class="fs24 ff2 cf3"><br /></span…
Hello Grar,
The error on Line 506 comes frome the H2 tag inserted since it is inside other tags.
All other errors in line 557 comes from the tag H1 since it is inside other tags.
If you want to use h1 or h2 you need to use the html&widget object for these so you will only have the tags alone with the text.
Many thanks!
***** Google Translation:
BonjourGrar,
L'erreursur la ligne506est livréfromelabalise H2inséré, car ilest à l'intérieurd'autres balises.
Toutes les autres erreursdansla ligne557vient dela baliseH1, car ilest à l'intérieurd'autres balises.
Si voussouhaitez utiliserH1 ou H2, vous devez utiliserle code htmletobjet widgetpources derniers ainsi vousn'aurez plus qu'àles balisesseul avecle texte.
Merci beaucoup!
Autor
J'ai enlever les h1 et h2 mais il y'a toujour des erreurs, ci dessous les erreurs détecter par validator w3c du site www.cyceo.fr, comment réparer ces erreurs?
Error Line 442, Column 115: Bad value http://s7.addthis.com/js/300/addthis_widget.js#pubid=cyceo informatique for attribute src on element script: Whitespace in fragment component. Use in place of spaces.
…p://s7.addthis.com/js/300/addthis_widget.js#pubid=cyceo informatique"></script>
Syntax of IRI reference:
Any URL. For example: /hello, #canvas, or http://example.org/ Characters should be represented in NFC and spaces should be escaped as .
Error Line 533, Column 82: End tag span seen, but there were open elements.
…an class="ff1 cf4 fs36"><strong></span><span class="ff2 cf4 fs36">Réparer votr…
✉
Error Line 533, Column 75: Unclosed element strong.
…t;"><span class="ff1 cf4 fs36"><strong></span><span class="ff2 cf4 fs36">Répar…
✉
Error Line 533, Column 181: End tag strong violates nesting rules.
…an><span class="ff1 cf4 fs36"></strong></span><span class="fs24 ff2 cf4"><br /…
✉
Error Line 533, Column 188: Stray end tag span.
…n class="ff1 cf4 fs36"></strong></span><span class="fs24 ff2 cf4"><br /></span…
✉
Error Line 588, Column 23863: & did not start a character reference. (& probably should have been escaped as &.)
…oeuvre-tout-compris.html" title="Pièce&Main d'oeuvre 149€" class="tag" i…
✉
Error Line 588, Column 24047: & did not start a character reference. (& probably should have been escaped as &.)
…Arial,sans-serif; padding: 3px;">Pièce&Main d'oeuvre 149€</A> <A href="h…
Autor
J'ai effacer tout les tag html des texte, STRONG, H1 et H2, le site à été valider par w3c mais ma page n'a plus de tag pour le référencement, comment les intégrer proprement?
www.cyceo.fr
Hello Grar,
To add the H1, H2 etc tags use the HTML&Widget Object in step 3 so these will then be correctly validated.
Many thanks!
***** Google Translation:
Bonjour Grar,
Pour ajouter le H1, H2, etc balises utilisent le HTML & Widget objet à l'étape 3 si ceux-ci seront alors correctement validées.
Merci beaucoup!