Partage
  • Partager sur Facebook
  • Partager sur Twitter

Gros problème validation W3C

54 erreurs pour mon XHTML ^^

Sujet résolu
    8 octobre 2006 à 20:00:56

    Voila, ayant remarqué que mon site ne s'affichait pas bien sous IE j'ai voulu passer la validation W3C pour voir d'où elles venaient.
    Pour ma page XHTML le validateur me donne 54 erreurs (qui a dit site codé avec les pieds :-° ). Seulement je ne comprends pas comment les corriger (j'ai essayé pourtant). Pour ma feuille de style il me dit de déjà valider ma page xhtml.
    J'en viens donc a votre aide pour m'expliquer comment corriger ces erreurs, merci.

    lien validateur :
    # Error Line 55 column 68: there is no attribute "target".

    ...get" action="http://www.google.fr/custom" target="_top">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

    ✉
    # Error Line 60 column 11: there is no attribute "nowrap".

    <td nowrap="nowrap">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

    &#9993;
    # Error Line 60 column 19: document type does not allow element "td" here.

    <td nowrap="nowrap">

    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

    &#9993;
    # Error Line 85 column 55: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag.

    <input type="hidden" name="cmd" value="_s-xclick"/>

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    &#9993;
    # Error Line 86 column 91: there is no attribute "border".

    ...r_FR/i/btn/x-click-but04.gif" border="0" name="submit" alt="Effectuez vos pai

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

    &#9993;
    # Error Line 86 column 195: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag.

    ...ution rapide, gratuite et sécurisée"/>

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    &#9993;
    # Error Line 87 column 24: there is no attribute "border".

    <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" w

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

    &#9993;
    # Error Line 87 column 100: document type does not allow element "img" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag.

    .../scr/pixel.gif" width="1" height="1"/>

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    &#9993;
    # Error Line 89 column 7: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag.

    "/>

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    &#9993;
    # Error Line 90 column 11: end tag for "form" which is not finished.

    </form>

    Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.






    Ma page d'acceuil :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >

       <head>
       <link rel="shortcut icon" href="favicon.ico" />
       <link rel="alternate" type="application/rss+xml" title="RSS" href="rss.php" />
           <title>Virtualchip</title>
           <meta http-equiv="Content-type" content="application/xhtml+xml; charset=ISO-8859-1" />
               <meta name="description" content="Virtualchip, le site de l'informatique." />
                    <meta name="keywords" content="hardware, nvidia, geforce, quadro, leadtek, forum, overclocking, informatique, carte, graphique, pilote, driver, cartes 3d, multimédia, jeux, video, astuce, tests, ati" />
                    <meta name="verify-v1" content="VsmK1sVVSq0OYEu5ennMXCE2N3tIjT9evN6kxhgrkRU=" />
               <link rel="stylesheet" media="screen" type="text/css" title="Exemple" href="design.css" />      
       </head>

       <body>

           <!-- L'en-tête -->

           <div id="en_tete">
             
           </div>
               <div id="menu_en_tete">
               <strong><a class="ablanc" href="index.php"title="Les news les plus fraiches du net">News |</a>
              
                                                    <a class="ablanc" href="archives.php"title="Toutes les news sont ici">Archives |</a>
                    <a class="ablanc" href="Forum/index.php" title="Le forum virtualchip pour tous vos problèmes">Forum |</a>
                    <a class="ablanc" href="article.php"title="Tests, comparatifs,... c'est par ici">Articles |</a>
                                                    <a class="ablanc" href="jeux_video.php"title="Tout ce que vous voulez savoir sur les jeux video"> Les jeux |</a>
                    <a class="ablanc" href="telechargement.php"title="Les meilleurs logiciels du net rassemblés ici">Téléchargement |</a>
                                                    <a class="ablanc" href="phpnews/index.php"title="Cette partie est reservée aux administrateurs du site">Administration |</a> </strong>
                                         
               </div>
                    <div id="google_adsense">
                    <script type="text/javascript"><!--
    google_ad_client = "pub-4210357312211776";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    //-->
    </script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

    </script>
                    </div>
           <!-- Les menus -->

           <div id="menu">
                            <div class="titre">
                            <h3>Recherche</h3></div>
               <div class="element_menu">
                       <div class="recherche">
                      <!-- SiteSearch Google -->
    <br/><form method="get" action="http://www.google.fr/custom" target="_top">

    <p><input type="hidden" name="domains" value="virtualchip.goldzoneweb.info"/>
    <input type="text" name="q" size="25" maxlength="255" value=""/></p>

    <td nowrap="nowrap">


    <p><input type="radio" name="sitesearch" value="" checked="checked"/>
    Web</p>

    <p><input type="radio" name="sitesearch" value="virtualchip.goldzoneweb.info"/>
    virtualchip.goldzoneweb.info</p>
    <input type="submit" name="sa" value="Recherche Google"/>
    <input type="hidden" name="client" value="pub-4210357312211776"/>
    <input type="hidden" name="forid" value="1"/>
    <input type="hidden" name="ie" value="ISO-8859-1"/>
    <input type="hidden" name="oe" value="ISO-8859-1"/>
    <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"/>
    <input type="hidden" name="hl" value="fr"/>
    </td>
    </form>
    <br/>
    <!-- SiteSearch Google -->
               </div></div>
           <div class="titre2">
               <h3>Faire un don</h3></div>
               <div class="element_menu">
                            <div class="paypal">
                     <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
                       <input type="hidden" name="cmd" value="_s-xclick"/>
                       <input type="image" src="https://www.paypal.com/fr_FR/i/btn/x-click-but04.gif" border="0" name="submit" alt="Effectuez vos paiements via PayPal : une solution rapide, gratuite et sécurisée"/>
                       <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"/>
                       <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwF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TYMSTWuBPUEozOQ0TMA0GCSqGSIb3DQEBAQUABIGASyns6EsbTB/KnVMcy1Oxodh17TYtfqLCBGpXwZgDuPBoUaxM7XtLLB0Rhk4rfEsKDj8GLPpYDDn84LpBVvUVrqFMLCkLMATx4hkXnYpOSDVZIoAo+QPopwdeoLNDHCXixb7uSSM6GXjSNZaEWA9TbPEAT0T62eSexLmZ3/nmO8U=-----END PKCS7-----
                       "
    />

                       </form>             
               </div></div>
                            <div class="titre3">
                            <h3>Publicité</h3></div>
                       <div class="element_menu">
                <div class="pub">   
                   <p><script type="text/javascript"><!--
    google_ad_client = "pub-4210357312211776";
    google_ad_width = 125;
    google_ad_height = 125;
    google_ad_format = "125x125_as_rimg";
    google_cpa_choice = "CAAQv87nzwEaCPNb_H0GemsCKNm493M";
    google_ad_channel = "";
    //-->
    </script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
                            </p></div></div>
              </div>
              <div id="menu2">     
                    <div class="titre4">
              <h3>Téléchargements</h3></div>
               <div class="element_menu2">
                               
               </div>
                       <div class="titre5">
           <h3>Menu</h3></div>
               <div class="element_menu2">
                             
                       <p><a href="index.php">News</a></p>
                       <p><a href="Forum/index.php">Forum</a></p>
                       <p><a href="phpnews/index.php">Administration</a></p>
                                       <p><a href="creation.php">A propos de Virtualchip</a></p>
                                       <p><a href="http://fusion.google.com/add?feedurl=http%3A//virtualchip.goldzoneweb.info/rss.php"><img src="http://buttons.googlesyndication.com/fusion/add.gif" width="104" height="17" border="0" alt="Add to Google"/></a></p>
                 
               </div> 
                       <div class="titre6">
                            <h3>Forum Virtualchip</h3>
                            </div>
                       <div class="element_menu2">
                   
                 
                            </div> 
              </div>

           <!-- Le corps -->
    <div id="titre7">
               <h1>L'actualité infomatique</h1></div>
           <div id="corps">
              
         
    <?php
    include("http://virtualchip.goldzoneweb.info/phpnews/news.php");
    ?>


           </div>
               <div id="titre8">
               <h1>Articles</h1></div>
    <div id="corps2">

    <p> Pas encore de documents dans cette séction</p>
    </div>
           <!-- Le pied de page -->

           <div id="pied_de_page">
               <p>Content &amp; Design are copyrighted © and registred ® &amp;  by "Moimael Corporation" 2006, tous droits réservés</p>
                       <div id="xiti-logo">
    <a href="http://www.xiti.com/xiti.asp?s=267799" title="WebAnalytics">
    <script type="text/javascript">
    <!--
    Xt_param = 's=267799&p=index';
    try {Xt_r = top.document.referrer;}
    catch(e) {Xt_r = document.referrer; }
    Xt_h = new Date();
    Xt_i = '<img width="39" height="25" border="0" ';
    Xt_i += 'src="http://logv31.xiti.com/hit.xiti?'+Xt_param;
    Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
    if(parseFloat(navigator.appVersion)>
    =4)
    {Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
    document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'">');
    //-->
    </script>
    <object>
    <noscript>
    <div id="xiti-logo-noscript">
    <img width="39" height="25" src="http://logv31.xiti.com/hit.xiti?s=267799&amp;p=&amp;index" alt="WebAnalytics" />
    </div>
    </noscript>
    </object>
    </a>
    </div>
           </div>

       </body>
    </html>     



    Je sais que c'est tres long a lire dsl mais le lien vers la page de validation ne marche pas.
    Merci pour votre aide.
    • Partager sur Facebook
    • Partager sur Twitter
      8 octobre 2006 à 20:25:35

      En regardant vite fait ton code source, jvois déjà que tes balises input ne sont pas bonnes.

      Ce sont des balises vides, de forme <input /> et non <input></input>
      • Partager sur Facebook
      • Partager sur Twitter
        8 octobre 2006 à 20:35:50

        Merci beaucoup je suis passé de 54 a 51 erreur c'est deja ca, ca avance ^^
        • Partager sur Facebook
        • Partager sur Twitter
          8 octobre 2006 à 20:42:41

          Les balises <center> ainsi que les balises <font> sont obsolètes, elles sont à remplacer en CSS par text-align:center et font:.
          Les balises <br> se forment en <br /> en XHTML.
          Mets toutes tes balises Meta en miniscule.
          • Partager sur Facebook
          • Partager sur Twitter
            8 octobre 2006 à 21:20:55

            Ca avance a grands pas deja plus que 39 erreurs et j'ai pas encore corrigé les <font> merci Titx.
            • Partager sur Facebook
            • Partager sur Twitter
              8 octobre 2006 à 21:34:30

              Je doute que le DOCTYPE soit adapté au site.
              Pense aussi que toutes les balises doivent être fermées si tu utilises un DOCTYPE en Strict, comme tes balises
              <meta /> <!-- le "/" est manquant -->
              de description et de mots-clés.
              • Partager sur Facebook
              • Partager sur Twitter
                8 octobre 2006 à 21:41:19

                Pourquoi est ce que tu dis que le doctype n'est pas adapté au site ? Il ne faut pas prendre le dernier en date a savoir le XHTML 1.1 pour une meilleure compatibilitée ?
                • Partager sur Facebook
                • Partager sur Twitter
                  8 octobre 2006 à 21:57:24

                  Le XHTML 1.1 est non valide en étant traité en tant que text/html.
                  • Partager sur Facebook
                  • Partager sur Twitter
                    8 octobre 2006 à 22:03:08

                    Ma page est traité en temps que text/php, non ?
                    C'est bien de ca que tu parle ? :
                    <meta http-equiv="Content-Type" content="text/php; charset=iso-8859-1" />
                    • Partager sur Facebook
                    • Partager sur Twitter
                      8 octobre 2006 à 22:05:48

                      Si tu laisses en XHTML 1.1, elle doit être traité en application/xhtml+xml.
                      Si tu choisis XHTML 1.0, tu as le choix avec application/xhtml+xml et text/html.
                      • Partager sur Facebook
                      • Partager sur Twitter
                        8 octobre 2006 à 22:13:25

                        Tu es sur de l'avoir bien lu le tuto :p

                        Ceci ne va pas aider tes erreurs, mais ça va t'aider à rectifier tes erreurs http://w3qc.org/validateur/ :)

                        Voila-je suis sur que tu va t'en sortir comme un(e) grand(e) ;) .
                        • Partager sur Facebook
                        • Partager sur Twitter
                          9 octobre 2006 à 18:31:22

                          Ben j veut bien essayer de corriger ca tt seul mais il y a des trucs que je comprends pas :
                          la plupart de mes erreurs c'est qu'il n'y a pas d'attribut apres telle ou telle balise par exemple :

                          1. Error Line 9 column 14: there is no attribute "id".

                          <meta id= "Description" content= "Virtualchip, le site de l'informatique." >

                          Je ne comprends pas d'ou ca vien tétant donné qu'il y a un attribut a id.
                          • Partager sur Facebook
                          • Partager sur Twitter
                            9 octobre 2006 à 19:16:25

                            quand il te dit there is no attribute...
                            sa veut dire que la balise a qui tu met l'attribut ne gere pas cet attribut
                            donc dans ce cas trouve une autre solution
                            • Partager sur Facebook
                            • Partager sur Twitter
                              9 octobre 2006 à 20:01:27

                              Citation : moimael

                              Ben j veut bien essayer de corriger ca tt seul mais il y a des trucs que je comprends pas :
                              la plupart de mes erreurs c'est qu'il n'y a pas d'attribut apres telle ou telle balise par exemple :

                              1. Error Line 9 column 14: there is no attribute "id".

                              <meta id= "Description" content= "Virtualchip, le site de l'informatique." >

                              Je ne comprends pas d'ou ca vien tétant donné qu'il y a un attribut a id.



                              <meta name="description" content="Virtualchip, le site de l'informatique." />


                              ;)

                              Citation : W3C

                              10. Error Line 65 column 3: document type does not allow element "td" here; assuming missing "tr" start-tag.

                              <td>

                              &#9993;
                              11. Error Line 66 column 3: document type does not allow element "tr" here; assuming missing "table" start-tag.

                              <tr><input type="radio" name="sitesearch" value="" checked="checked"/>


                              Ici (la 10) il dit qu'il manque une balise <tr> dans le premier cas (avant la balise <td>
                              Et la 11,tu as mis un <tr> mais il manque le <table> apparemment.
                              C'est ce que je pense, essaie et tu nous tiens au courant
                              • Partager sur Facebook
                              • Partager sur Twitter
                                21 octobre 2006 à 18:48:23

                                Bon voila il ne me reste plus que 10 erreurs (j'ai édité les erreurs et le code de ma page dans le premier message) et je ne parviens pas a les résoudre, qq a une idée ?
                                • Partager sur Facebook
                                • Partager sur Twitter
                                  21 octobre 2006 à 19:22:20

                                  Ben en fait pas vraiment étant donné que je comprends le validateur anglais mais je ne vois pas comment résoudre ces problèmes. Mais merci d'avoir proposé.
                                  • Partager sur Facebook
                                  • Partager sur Twitter
                                    21 octobre 2006 à 21:36:02

                                    Tient maintenant il y a qu'une erreur avec ce code

                                    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

                                    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >

                                       <head>
                                       <link rel="shortcut icon" href="favicon.ico" />
                                       <link rel="alternate" type="application/rss+xml" title="RSS" href="rss.php" />
                                           <title>Virtualchip</title>
                                           <meta http-equiv="Content-type" content="application/xhtml+xml; charset=ISO-8859-1" />
                                               <meta name="description" content="Virtualchip, le site de l'informatique." />
                                                    <meta name="keywords" content="hardware, nvidia, geforce, quadro, leadtek, forum, overclocking, informatique, carte, graphique, pilote, driver, cartes 3d, multimédia, jeux, video, astuce, tests, ati" />
                                                    <meta name="verify-v1" content="VsmK1sVVSq0OYEu5ennMXCE2N3tIjT9evN6kxhgrkRU=" />
                                               <link rel="stylesheet" media="screen" type="text/css" title="Exemple" href="design.css" />     
                                       </head>

                                       <body>

                                           <!-- L'en-tête -->

                                           <div id="en_tete">
                                             
                                           </div>
                                               <div id="menu_en_tete">
                                               <strong><a class="ablanc" href="index.php"title="Les news les plus fraiches du net">News |</a>
                                             
                                                                                    <a class="ablanc" href="archives.php"title="Toutes les news sont ici">Archives |</a>
                                                    <a class="ablanc" href="Forum/index.php" title="Le forum virtualchip pour tous vos problèmes">Forum |</a>
                                                    <a class="ablanc" href="article.php"title="Tests, comparatifs,... c'est par ici">Articles |</a>
                                                                                    <a class="ablanc" href="jeux_video.php"title="Tout ce que vous voulez savoir sur les jeux video"> Les jeux |</a>
                                                    <a class="ablanc" href="telechargement.php"title="Les meilleurs logiciels du net rassemblés ici">Téléchargement |</a>
                                                                                    <a class="ablanc" href="phpnews/index.php"title="Cette partie est reservée aux administrateurs du site">Administration |</a> </strong>
                                                                         
                                               </div>
                                                    <div id="google_adsense">
                                                    <script type="text/javascript"><!--
                                    google_ad_client = "pub-4210357312211776";
                                    google_ad_width = 468;
                                    google_ad_height = 60;
                                    google_ad_format = "468x60_as";
                                    google_ad_type = "text_image";
                                    google_ad_channel ="";
                                    //-->
                                    </script>
                                    <script type="text/javascript"
                                      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

                                    </script>
                                                    </div>
                                           <!-- Les menus -->

                                           <div id="menu">
                                                            <div class="titre">
                                                            <h3>Recherche</h3></div>
                                               <div class="element_menu">
                                                       <div class="recherche">
                                                      <!-- SiteSearch Google -->
                                    <br /><form method="get" action="http://www.google.fr/custom">

                                    <p><input type="hidden" name="domains" value="virtualchip.goldzoneweb.info"/>
                                    <input type="text" name="q" size="25" maxlength="255" value=""/></p>
                                    <table>
                                    <tr>
                                    <td>
                                    <p><input type="radio" name="sitesearch" value="" checked="checked"/>
                                    Web</p>

                                    <p><input type="radio" name="sitesearch" value="virtualchip.goldzoneweb.info"/>
                                    virtualchip.goldzoneweb.info</p>
                                    <p>
                                    <input type="submit" name="sa" value="Recherche Google"/>
                                    <input type="hidden" name="client" value="pub-4210357312211776"/>
                                    <input type="hidden" name="forid" value="1"/>
                                    <input type="hidden" name="ie" value="ISO-8859-1"/>
                                    <input type="hidden" name="oe" value="ISO-8859-1"/>
                                    <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"/>
                                    <input type="hidden" name="hl" value="fr"/>
                                    </p>
                                    </td>
                                    </tr>
                                    </form>
                                    <br />
                                    <!-- SiteSearch Google -->
                                               </div></div>
                                           <div class="titre2">
                                               <h3>Faire un don</h3></div>
                                               <div class="element_menu">
                                                            <div class="paypal">
                                                     <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
                                                                     <p>
                                                       <input type="hidden" name="cmd" value="_s-xclick"/>
                                                       <input type="image" src="https://www.paypal.com/fr_FR/i/btn/x-click-but04.gif" name="submit" alt="Effectuez vos paiements via PayPal : une solution rapide, gratuite et sécurisée" style="border:0px;"/>
                                                       <img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" style="border:0px;"/>
                                                       <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBe7eIYqLVTTaPdxI7KDRo+VFqBAaOXMKsdpEaYYdJvw0ZmqC17SFbjkC6f0Gl4rcYMT0FkNCv3xSFMOrXcxZhC6bU3F/CBfuFWLg1UurTVQcLy1hR/SOnzmhT/laiIe3KiT4bYWqVp5flFpreT1muAiUHVuVogvkADWCijruCiczELMAkGBSsOAwIaBQAwgaQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIu50fQeUWuniAgYDt3kt66kuYKnJQ8RGCYdo22xC61PhoQQrVT2zIl7G9AMHc4cYrjIcFYHoopN+GvNUWr6c2HuEhSOXWH2ngjSSlJVZVCu7bemaf0ynpFAuRWwcQ0O55OLluakFBJCI3cCXjdEaCNHd5dOW8O8yEYVORSoKBwrMwnTlneTCUkQBLDKCCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbTAeFw0wNDAyMTMxMDEzMTVaFw0zNTAyMTMxMDEzMTVaMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW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BhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MDkwNDE4NDEzMVowIwYJKoZIhvcNAQkEMRYEFKjL1K/2qHvTYMSTWuBPUEozOQ0TMA0GCSqGSIb3DQEBAQUABIGASyns6EsbTB/KnVMcy1Oxodh17TYtfqLCBGpXwZgDuPBoUaxM7XtLLB0Rhk4rfEsKDj8GLPpYDDn84LpBVvUVrqFMLCkLMATx4hkXnYpOSDVZIoAo+QPopwdeoLNDHCXixb7uSSM6GXjSNZaEWA9TbPEAT0T62eSexLmZ3/nmO8U=-----END PKCS7-----
                                                       "
                                    />
                                    </p>
                                                       </form>             
                                               </div></div>
                                                            <div class="titre3">
                                                            <h3>Publicité</h3></div>
                                                       <div class="element_menu">
                                                <div class="pub">   
                                                   <p><script type="text/javascript"><!--
                                    google_ad_client = "pub-4210357312211776";
                                    google_ad_width = 125;
                                    google_ad_height = 125;
                                    google_ad_format = "125x125_as_rimg";
                                    google_cpa_choice = "CAAQv87nzwEaCPNb_H0GemsCKNm493M";
                                    google_ad_channel = "";
                                    //-->
                                    </script>
                                    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                                    </script>
                                                            </p></div></div>
                                              </div>
                                              <div id="menu2">     
                                                    <div class="titre4">
                                              <h3>Téléchargements</h3></div>
                                               <div class="element_menu2">
                                                               
                                               </div>
                                                       <div class="titre5">
                                           <h3>Menu</h3></div>
                                               <div class="element_menu2">
                                                             
                                                       <p><a href="index.php">News</a></p>
                                                       <p><a href="Forum/index.php">Forum</a></p>
                                                       <p><a href="phpnews/index.php">Administration</a></p>
                                                                       <p><a href="creation.php">A propos de Virtualchip</a></p>
                                                                       <p><a href="http://fusion.google.com/add?feedurl=http%3A//virtualchip.goldzoneweb.info/rss.php"><img src="http://buttons.googlesyndication.com/fusion/add.gif" width="104" height="17" style="border:0px;" alt="Add to Google"/></a></p>
                                                 
                                               </div>
                                                       <div class="titre6">
                                                            <h3>Forum Virtualchip</h3>
                                                            </div>
                                                       <div class="element_menu2">
                                                   
                                                 
                                                            </div>
                                              </div>

                                           <!-- Le corps -->
                                    <div id="titre7">
                                               <h1>L'actualité infomatique</h1></div>
                                           <div id="corps">
                                             
                                         
                                    <?php
                                    include("http://virtualchip.goldzoneweb.info/phpnews/news.php");
                                    ?>


                                           </div>
                                               <div id="titre8">
                                               <h1>Articles</h1></div>
                                    <div id="corps2">

                                    <p> Pas encore de documents dans cette séction</p>
                                    </div>
                                           <!-- Le pied de page -->

                                           <div id="pied_de_page">
                                               <p>Content &amp; Design are copyrighted © and registred ® &amp;  by "Moimael Corporation" 2006, tous droits réservés</p>
                                                       <div id="xiti-logo">
                                    <a href="http://www.xiti.com/xiti.asp?s=267799" title="WebAnalytics">
                                    <script type="text/javascript">
                                    <!--
                                    Xt_param = 's=267799&p=index';
                                    try {Xt_r = top.document.referrer;}
                                    catch(e) {Xt_r = document.referrer; }
                                    Xt_h = new Date();
                                    Xt_i = '<img width="39" height="25" border="0" ';
                                    Xt_i += 'src="http://logv31.xiti.com/hit.xiti?'+Xt_param;
                                    Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
                                    if(parseFloat(navigator.appVersion)>
                                    =4)
                                    {Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
                                    document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'">');
                                    //-->
                                    </script>
                                    <object>
                                    <noscript>
                                    <div id="xiti-logo-noscript">
                                    <img width="39" height="25" src="http://logv31.xiti.com/hit.xiti?s=267799&amp;p=&amp;index" alt="WebAnalytics" />
                                    </div>
                                    </noscript>
                                    </object>
                                    </a>
                                    </div>
                                           </div>

                                       </body>
                                    </html>


                                    Citation : Erreur W3C

                                    1. Error Line 78 column 6: end tag for "table" omitted, but OMITTAG NO was specified.

                                    </form>

                                    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

                                    &#9993;
                                    2. Info Line 59 column 0: start tag was here.

                                    <table>


                                    • Partager sur Facebook
                                    • Partager sur Twitter
                                      21 octobre 2006 à 22:34:30

                                      Merci beaucoup de ton aide précieuse, maintenant ma page est valide xhtml 1.1 strict (l'erreur restante était juste que tu avais oublié de fermé un <table>). :)
                                      • Partager sur Facebook
                                      • Partager sur Twitter
                                        22 octobre 2006 à 21:00:11

                                        je vois je suis un peu étourdie des fois
                                        Mais merci de ton merci ;)
                                        Mets le sujet résolu quand même :D
                                        • Partager sur Facebook
                                        • Partager sur Twitter

                                        Gros problème validation W3C

                                        × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
                                        × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
                                        • Editeur
                                        • Markdown