Validation W3C
Résolu
domie81
Messages postés
72
Date d'inscription
Statut
Membre
Dernière intervention
-
Validateur W3C pour les nuls -
Validateur W3C pour les nuls -
Bonjour,
Je suis actuellement en train de passer mon site en validation, et j'ai des erreurs.
Je voudrais donc savoir si on pouvait generer un code source et le remplacer directement ( parce que je sais trouver le code source mais ensuite je n'arrive pas a retrouver mes lignes de codes dans mes fichers php et css)
Sinon si vous pouviez m'expliquer un moyen de trouver facilement mon code pour le remplacer ca serait cool.
Je suis actuellement en train de passer mon site en validation, et j'ai des erreurs.
Je voudrais donc savoir si on pouvait generer un code source et le remplacer directement ( parce que je sais trouver le code source mais ensuite je n'arrive pas a retrouver mes lignes de codes dans mes fichers php et css)
Sinon si vous pouviez m'expliquer un moyen de trouver facilement mon code pour le remplacer ca serait cool.
A voir également:
- Validation W3C
- Pb retour sur site marchand après validation du paiement - Forum Consommation & Internet
- Excel validation des données liste - Guide
- Temps validation annonce le bon coin - Forum Réseaux sociaux
- Commande en cours de validation fnac - Forum Réseaux sociaux
- Commande Fnac en attente d’acceptation ✓ - Forum Consommation & Internet
24 réponses
en premier la fonction remplacer de ton editeur :x
ou prendre un éditeur affichant le numéro de ligne
ou prendre un éditeur affichant le numéro de ligne
Ok, j'ai dreamweaver et je peux editer mon code avec mais une fois modifie, je le met ou???
(desolee, je suis en Angleterre avec un clavier qwerty, donc pas d'accents)
(desolee, je suis en Angleterre avec un clavier qwerty, donc pas d'accents)
Ben, j'ai tous mes fichiers php, css, dans ce qui constitue mon site, mais je n'ai jamais vu un fichier "code source" . Je ne sais pas si je suis claire desole, mais c'est la premiere fois que je dois modifier le code source et je ne sais pas vraiment comment faire...
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
le code source c'est tes pages php et css oui j'avoue je ne comprend pas grand chose a ce que tu souhaite ?
Je n'arrive pas a trouver mes erreurs, y'a du code qui s'affiche quand je le genere que je ne trouve dans AUCUN de mes fichiers php, est ce que c'est possible?
je voudrais un "truc" pour pouvoir retrouver facilement mes erreurs dans mes fichiers pour pouvoir les corriger>
enfin autre chose dont je n'avais pas parle : XML Parsing Error: Opening and ending tag mismatch
c'est quoi comme genre d'erreur?
merci beaucoup.
je voudrais un "truc" pour pouvoir retrouver facilement mes erreurs dans mes fichiers pour pouvoir les corriger>
enfin autre chose dont je n'avais pas parle : XML Parsing Error: Opening and ending tag mismatch
c'est quoi comme genre d'erreur?
merci beaucoup.
je genere ma page de code source avec mozilla et je fais un copie colle dans le validateur ( j'utilise validator.w3.org)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> Grow your business</title> <link rel="stylesheet" href="http://localhost/wordpress-2.8/wordpress/wp-content/themes/businessconsultancy/style.css" type="text/css" media="screen" /> <link rel="pingback" href="http://localhost/wordpress-2.8/wordpress/xmlrpc.php" /> <style type="text/css" media="screen"> #page { background: url("http://localhost/wordpress-2.8/wordpress/wp-content/themes/businessconsultancy/images/ltr.jpg") repeat-y top; border: none; } </style> <meta name='robots' content='noindex,nofollow' /> <link rel="alternate" type="application/rss+xml" title="Grow your business » Feed" href="http://localhost/wordpress-2.8/wordpress/?feed=rss2" /> <link rel="alternate" type="application/rss+xml" title="Grow your business » Comments Feed" href="http://localhost/wordpress-2.8/wordpress/?feed=comments-rss2" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost/wordpress-2.8/wordpress/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost/wordpress-2.8/wordpress/wp-includes/wlwmanifest.xml" /> <link rel='index' title='Grow your business' href='http://localhost/wordpress-2.8/wordpress' /> <meta name="generator" content="WordPress 2.8" /> </head> <body class="home blog logged-in"> <div id="page"> <div id="header" class="banner"> <div id="headerimg"> <h1><a href="http://localhost/wordpress-2.8/wordpress/">Grow your business</a></h1> <div class="description"></div> <a href="http://localhost/wordpress-2.8/wordpress/?feed=rss2" id="rss-feed" ></a> </div> <ul id="nav2" class="clearfloat"> <li><a href="http://localhost/wordpress-2.8/wordpress/" class="on">Home</a></li> <li class="cat-item cat-item-3"><a href="http://localhost/wordpress-2.8/wordpress/?cat=3" title="View all posts filed under business">business</a> <ul class='children'> <li class="cat-item cat-item-4"><a href="http://localhost/wordpress-2.8/wordpress/?cat=4" title="View all posts filed under business2">business2</a> </li> <li class="cat-item cat-item-6"><a href="http://localhost/wordpress-2.8/wordpress/?cat=6" title="View all posts filed under business3">business3</a> </li> <li class="cat-item cat-item-7"><a href="http://localhost/wordpress-2.8/wordpress/?cat=7" title="View all posts filed under business4">business4</a> </li> </ul> </li> <li class="cat-item cat-item-1"><a href="http://localhost/wordpress-2.8/wordpress/?cat=1" title="View all posts filed under Uncategorized">Uncategorized</a> <ul class='children'> <li class="cat-item cat-item-5"><a href="http://localhost/wordpress-2.8/wordpress/?cat=5" title="View all posts filed under uncategorized2">uncategorized2</a> </li> </ul> </li> </ul> </div> <hr /> <div id="content" class="narrowcolumn" > <div class="post-11 post hentry category-business3 category-business4" id="post-11"> <h2><a href="http://localhost/wordpress-2.8/wordpress/?p=11" rel="bookmark" title="Permanent Link to test4">test4</a></h2> <small>June 19th, 2009 <!-- by admin --></small> <div class="entry"> <p>to look the menu</p> </div> <p class="postmetadata"> Posted in <a href="http://localhost/wordpress-2.8/wordpress/?cat=6" title="View all posts in business3" rel="category">business3</a>, <a href="http://localhost/wordpress-2.8/wordpress/?cat=7" title="View all posts in business4" rel="category">business4</a> | <a class="post-edit-link" href="http://localhost/wordpress-2.8/wordpress/wp-admin/post.php?action=edit&post=11" title="Edit post">Edit</a> | <a href="http://localhost/wordpress-2.8/wordpress/?p=11#respond" title="Comment on test4">No Comments »</a></p> </div> <div class="post-9 post hentry category-uncategorized2" id="post-9"> <h2><a href="http://localhost/wordpress-2.8/wordpress/?p=9" rel="bookmark" title="Permanent Link to blabla">blabla</a></h2> <small>June 18th, 2009 <!-- by admin --></small> <div class="entry"> <p>test 2</p> </div> <p class="postmetadata"> Posted in <a href="http://localhost/wordpress-2.8/wordpress/?cat=5" title="View all posts in uncategorized2" rel="category">uncategorized2</a> | <a class="post-edit-link" href="http://localhost/wordpress-2.8/wordpress/wp-admin/post.php?action=edit&post=9" title="Edit post">Edit</a> | <a href="http://localhost/wordpress-2.8/wordpress/?p=9#respond" title="Comment on blabla">No Comments »</a></p> </div> <div class="post-3 post hentry category-business2" id="post-3"> <h2><a href="http://localhost/wordpress-2.8/wordpress/?p=3" rel="bookmark" title="Permanent Link to This is a test">This is a test</a></h2> <small>June 18th, 2009 <!-- by admin --></small> <div class="entry"> <p>Hello</p> </div> <p class="postmetadata"> Posted in <a href="http://localhost/wordpress-2.8/wordpress/?cat=4" title="View all posts in business2" rel="category">business2</a> | <a class="post-edit-link" href="http://localhost/wordpress-2.8/wordpress/wp-admin/post.php?action=edit&post=3" title="Edit post">Edit</a> | <a href="http://localhost/wordpress-2.8/wordpress/?p=3#respond" title="Comment on This is a test">No Comments »</a></p> </div> <div class="post-1 post hentry category-uncategorized" id="post-1"> <h2><a href="http://localhost/wordpress-2.8/wordpress/?p=1" rel="bookmark" title="Permanent Link to Hello world!">Hello world!</a></h2> <small>June 15th, 2009 <!-- by admin --></small> <div class="entry"> <p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p> </div> <p class="postmetadata"> Posted in <a href="http://localhost/wordpress-2.8/wordpress/?cat=1" title="View all posts in Uncategorized" rel="category">Uncategorized</a> | <a class="post-edit-link" href="http://localhost/wordpress-2.8/wordpress/wp-admin/post.php?action=edit&post=1" title="Edit post">Edit</a> | <a href="http://localhost/wordpress-2.8/wordpress/?p=1#comments" title="Comment on Hello world!">1 Comment »</a></p> </div> <div class="navigation"> <div class="alignleft"></div> <div class="alignright"></div> </div> </div> <div id="sidebar" class="complementary"> <ul> <li> <div id="searchbar"> <form role="search" method="get" id="searchform" action="http://localhost/wordpress-2.8/wordpress/" > <div><label class="screen-reader-text" for="s">Search for:</label> <input type="text" value="" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </div> </form> </form> </div> </li> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <li><h2>Author</h2> <p>A little something about you, the author. Nothing lengthy, just an overview.</p> </li> --> </ul> <ul class="navigation"> <li class="pagenav"><h2>Pages</h2><ul><li class="page_item page-item-2"><a href="http://localhost/wordpress-2.8/wordpress/?page_id=2" title="About">About</a></li> <li class="page_item page-item-6"><a href="http://localhost/wordpress-2.8/wordpress/?page_id=6" title="Test 2">Test 2</a></li> </ul></li> <li><h2>Archives</h2> <ul> <li><a href='http://localhost/wordpress-2.8/wordpress/?m=200906' title='June 2009'>June 2009</a></li> </ul> </li> </ul> <ul> <li id="linkcat-2" class="linkcat"><h2>Blogroll</h2> <ul class='xoxo blogroll'> <li><a href="https://wordpress.org/news/">Development Blog</a></li> <li><a href="https://codex.wordpress.org/">Documentation</a></li> <li><a href="https://wordpress.org/plugins/">Plugins</a></li> <li><a href="https://wordpress.org/support/forum/requests-and-feedback/">Suggest Ideas</a></li> <li><a href="https://wordpress.org/support/">Support Forum</a></li> <li><a href="https://wordpress.org/themes/">Themes</a></li> <li><a href="http://planet.wordpress.org/">WordPress Planet</a></li> </ul> </li> <li><h2>Meta</h2> <ul> <li><a href="http://localhost/wordpress-2.8/wordpress/wp-admin/">Site Admin</a></li> <li><a href="http://localhost/wordpress-2.8/wordpress/wp-login.php?action=logout&_wpnonce=3734407c58">Log out</a></li> <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="https://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> </ul> </li> </ul> </div> <hr /> <div id="footer" class="contentinfo"> <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> <p> Create by <a href="http://www.businessconsultancyonestopshop.com/">businessconsultancy <br /></a> Grow your business is proudly powered by <a href="https://wordpress.org/">Wordpress</a> <br /><a href="http://localhost/wordpress-2.8/wordpress/?feed=rss2">Entries (RSS)</a> and <a href="http://localhost/wordpress-2.8/wordpress/?feed=comments-rss2">Comments (RSS)</a>. <!-- 16 queries. 1.022 seconds. --> </p> </div> </div> </body> </html>
Line 139, Column 12: Attribute "role" is not a valid attribute. Did you mean "frameborder" or "scrolling"?
<form role="search" method="get" id="searchform" action="http://localhost/wordpr
Error Line 145, Column 11: end tag for element "form" which is not open
</form>
Line 145, Column 11: XML Parsing Error: Opening and ending tag mismatch: div line 138 and form
</form>
Error Line 147, Column 6: XML Parsing Error: Opening and ending tag mismatch: li line 137 and div
</div>
Error Line 148, Column 29: XML Parsing Error: Opening and ending tag mismatch: ul line 136 and li
</li>
Line 156, Column 10: XML Parsing Error: Opening and ending tag mismatch: div line 134 and ul
</ul>
Line 214, Column 6: XML Parsing Error: Opening and ending tag mismatch: body line 28 and div
</div>
Line 217, Column 9: XML Parsing Error: Opening and ending tag mismatch: html line 2 and body
</body>
<form role="search" method="get" id="searchform" action="http://localhost/wordpr
Error Line 145, Column 11: end tag for element "form" which is not open
</form>
Line 145, Column 11: XML Parsing Error: Opening and ending tag mismatch: div line 138 and form
</form>
Error Line 147, Column 6: XML Parsing Error: Opening and ending tag mismatch: li line 137 and div
</div>
Error Line 148, Column 29: XML Parsing Error: Opening and ending tag mismatch: ul line 136 and li
</li>
Line 156, Column 10: XML Parsing Error: Opening and ending tag mismatch: div line 134 and ul
</ul>
Line 214, Column 6: XML Parsing Error: Opening and ending tag mismatch: body line 28 and div
</div>
Line 217, Column 9: XML Parsing Error: Opening and ending tag mismatch: html line 2 and body
</body>
1ere erreur :
<form role="search" method="get" id="searchform" action="http://localhost/wordpress-2.8/wordpress/" >
remplace par
<form method="get" id="searchform" action="http://localhost/wordpress-2.8/wordpress/" >(il manke aussi la page a ki tu envoi les données ... mais je comprend pas pk t'arrive pas a les modifier
<form role="search" method="get" id="searchform" action="http://localhost/wordpress-2.8/wordpress/" >
remplace par
<form method="get" id="searchform" action="http://localhost/wordpress-2.8/wordpress/" >(il manke aussi la page a ki tu envoi les données ... mais je comprend pas pk t'arrive pas a les modifier
ok, mais je ne TROUVE pas cette ligne dans AUCUN de mes fichiers php, sois je suis aveugle, soit un mystere persiste!