Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2949 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  [xHtml/CSS]Petit probleme validateur W3C

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[xHtml/CSS]Petit probleme validateur W3C

n°1470860
moimael
Posté le 05-11-2006 à 17:10:23  profilanswer
 

Voila, récemment je me suis mit a refaire le design de mon site, pour le remettre au gout du jour, avant cela, il était parfaitement valide xhtml 1.1. J'ai pu corrigé quasiment toutes les erreurs facilement mais je bloque sur la dernière :
 
Le site http://virtualchip.goldzoneweb.info/ (si par la même occasion vous pouviez me dire ce que vous pensez du site)
 
L'erreur :
 
Error  Line 22 column 10: there is no attribute "name".
 
<map name="map1" id="map1">
 
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.
 
 
 
 
Le code xhtml :
 
<!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" />
       <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, multimedia, 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">
    <img src="images/ssbanniere.png" usemap="map1" alt="barre de navigation"/>
<map name="map1" id="map1">
 <area shape="rect" coords="0,0,70,24" href="http://virtualchip.goldzoneweb.info/index.php" title="news" alt="barre de navigation"></area>
 <area shape="rect" coords="73,0,140,25" href="http://virtualchip.goldzoneweb.info/archives.php" title=""alt="barre de navigation"></area>
 <area shape="rect" coords="141,0,209,23" href="http://virtualchip.goldzoneweb.info/Forum/index.php" title=""alt="barre de navigation"></area>
 <area shape="rect" coords="208,0,276,21" href="http://virtualchip.goldzoneweb.info/article.php" title=""alt="barre de navigation"></area>
 <area shape="rect" coords="276,0,355,22" href="http://virtualchip.goldzoneweb.info/jeux_video.php" title=""alt="barre de navigation"></area>
 <area shape="rect" coords="355,1,461,25" href="http://virtualchip.goldzoneweb.info/telechargement.php" title=""alt="barre de navigation"></area>
</map>
         
       </div>
 
<div id="fondcentre">
                <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">
                        <h4>Recherche</h4></div>
           <div class="element_menu">
                   <div class="recherche">
                  <!-- SiteSearch Google -->
<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="submit" name="sa" value="Recherche"/>
<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>
</table>
</form>
 
<!-- SiteSearch Google -->
           </div></div>
       <div class="titre2">
           <h4>Faire un don</h4></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/laiIe3KiT4bYWqVp5flFpreT1muAiUHVuVogvkADWCijruCiczELMAkGBSsOAwIaBQAwgaQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIu50fQeUWuniAgYDt3kt66kuYKnJQ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fY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MDkwNDE4NDEzMVowIwYJKoZIhvcNAQkEMRYEFKjL1K/2qHvTYMSTWuBPUEozOQ0TMA0GCSqGSIb3DQEBAQUABIGASyns6EsbTB/KnVMcy1Oxodh17TYtfqLCBGpXwZgDuPBoUaxM7XtLLB0Rhk4rfEsKDj8GLPpYDDn84LpBVvUVrqFMLCkLMATx4hkXnYpOSDVZIoAo+QPopwdeoLNDHCXixb7uSSM6GXjSNZaEWA9TbPEAT0T62eSexLmZ3/nmO8U=-----END PKCS7-----
                   "/></p>
                   </form>              
           </div></div>
                        <div class="titre3">
                        <h4>Publicité</h4></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">
          <h4>Téléchargements</h4></div>
           <div class="element_menu2">
                           
           </div>
                   <div class="titre5">
       <h4>Accés rapide</h4></div>
           <div class="element_menu2">
     <img src="images/accesrapide.png" usemap="map2" alt="accesrapide"/>
            <map name="map2" id="map2">
 <area shape="rect" coords="0,0,179,20" href="http://virtualchip.goldzoneweb.info/index.php" title="" alt="accesrapide"/>
 <area shape="rect" coords="1,24,179,46" href="http://virtualchip.goldzoneweb.info/Forum/index.php" title="" alt="accesrapide"/>
 <area shape="rect" coords="0,50,179,75" href="http://virtualchip.goldzoneweb.info/creation.php" title="" alt="accesrapide"/>
 <area shape="rect" coords="0,76,179,103" href="http://fusion.google.com/add?feedurl=http%3A//virtualchip.goldzoneweb.info/rss.php" title="" alt="addtogoogle"/>
 </map>
 
                                                                       
           </div>
                   <div class="titre6">
                        <h4>Forum Virtualchip</h4>
                        </div>
                   <div class="element_menu2">
               
             
                        </div>
          </div>
 
       <!-- Le corps -->
<div id="titre7">
           <h4>L'actualité infomatique</h4></div>
       <div id="corps">
         
<p>      
<?php
include("phpnews/headlines.php" );
?></p>  
 
       </div>
           <div id="titre8">
           <h4>Articles</h4></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[version 1.0 "zen"] are copyrighted © and registred ®  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></div>
   </body>
</html>
 
Merci de vos réponses
 

mood
Publicité
Posté le 05-11-2006 à 17:10:23  profilanswer
 

n°1470864
masklinn
í dag viðrar vel til loftárása
Posté le 05-11-2006 à 17:17:46  profilanswer
 

Ca te dirait pas de lire le message d'erreur du validateur?
 
Non parce que sans vouloir être méchant, on peut difficilement faire plis clair que ce qui est écrit [:pingouino]


---------------
Stick a parrot in a Call of Duty lobby, and you're gonna get a racist parrot. — Cody
n°1470871
moimael
Posté le 05-11-2006 à 17:46:29  profilanswer
 

Ben oui mais je le remplace par quoi l'attribut name, si je l'enleve a lors l'image n'est plus clliquable.

n°1470875
masklinn
í dag viðrar vel til loftárása
Posté le 05-11-2006 à 18:06:54  profilanswer
 

Tu ne le remplaces par rien du tout et tu apprends à utiliser les bons doctypes avec les bons types mimes.
 
Pour plus d'infos, https://bugzilla.mozilla.org/show_bug.cgi?id=109445


---------------
Stick a parrot in a Call of Duty lobby, and you're gonna get a racist parrot. — Cody

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  [xHtml/CSS]Petit probleme validateur W3C

 

Sujets relatifs
probleme mysql 5Probleme envoi de mail PHP
Javascript : Probleme de menu deroulantCSS : class ou id
XMLHttpRequest : problème de deconnexion ? probleme avec return
Probleme d'affichage du conteu des framesCréer un petit programme pr archivage msn
generateur/validateur de syntaxe SQL 
Plus de sujets relatifs à : [xHtml/CSS]Petit probleme validateur W3C


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR