IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

16 erreurs suite à la validation.Comment les corriger ?


Sujet :

HTML

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Octobre 2008
    Messages
    36
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2008
    Messages : 36
    Points : 18
    Points
    18
    Par défaut 16 erreurs suite à la validation.Comment les corriger ?
    Bonjour,

    Voila après vérification de mon code je me retrouve avec 16 erreurs mais la je seche car je ne vois pas comment les rectifier

    http://validator.w3.org/check?uri=ht...Inline&group=0

    Pouvez vous m'eclairer?

    http://airwebdesign.free.fr

    Merci par avance

  2. #2
    Rédacteur
    Avatar de Macmillenium
    Homme Profil pro
    Développeur front-end
    Inscrit en
    Mars 2008
    Messages
    2 333
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur front-end
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 2 333
    Points : 3 748
    Points
    3 748
    Par défaut
    Bonjour,

    Enfaite tu n'as que 5 erreurs, le reste sont des erreurs d'analyse syntaxique.

    Line 6, Column 74: end tag for "meta" omitted, but OMITTAG NO was specified
    Line 24, Column 57: end tag for "img" omitted, but OMITTAG NO was specified
    Tu utilises XHTML, meta et img sont des balises auto-fermantes

    Line 15, Column 97: Attribute "bordercolor" is not a valid attribute
    Line 15, Column 97: Attribute "bordercolor" is not a valid attribute
    Dans le Doctype XHTML :
    - L'attribut bordercolor est banni,
    - l'utilisation de l'attribut height est interdite sur un <table>.

    Tu peux les remplacer par les propriétés CSS, height et border-color

    Line 107, Column 6: end tag for "iframe" omitted, but OMITTAG NO was specified
    Tu as oublié de fermer ton <iframe>


    Ton code valide :
    Code xhtml : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
     
    <!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" xml:lang="en" lang="en">
    <head>
        <title></title>
    	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    	<meta name="author" content="" />
    	<meta name="keywords" content="" />
    	<meta name="description" content="" />
    	<meta name="robots" content="all" />
     
        <link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
    </head>
     
    <body>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-color:#111111; height:100%" width="100%">
    <tr><td width="100%" height="100%" align="center">   
     
     
    <div id="glowny">
    <div id="logo">
    <h1 class="gr">Lorem Ipsum is simply dummy text of the printing and typesetting 
    industry. Lorem Ipsum has been the industry's standard dummy text ever since the</h1>
    </div>
    <div id="linia"><img src="images/linia.gif" alt="" /></div>
    <div id="menu">
    	    <a href="portrait.htm">Portrait</a>
     
    	    <span class="sel">Glamour</span>
    	    <a href="news.htm">News</a>
    		<a href="video/index.html">Video</a>
    		<a href="bio.htm">Bio</a>
    		<a href="contact.htm">Contact</a>
    		<a href="http://www.pbase.com/orlowski">More</a>
     
    </div>
     
     
    <div id="lewe">
    <table border="0" width="100%" id="table1">
    	<tr>
    		<td align="left">&nbsp;</td>
    	</tr>
    	<tr>
    		<td align="left"><h2 class="content"><a target="iframe" href="inspiration-css.php">
    		Inspiration Css</a></h2></td>
     
    	</tr>
    		<tr>
    		<td align="left">&nbsp;</td>
    	</tr>
    		<tr>
    		<td align="left"><h2 class="content"><a target="iframe" href="inspiration-flash.php">
    		Inspiration Flash</a></h2></td>
    	</tr>
     
    		<tr>
    		<td align="left">&nbsp;</td>
    	</tr>
    		<tr>
    		<td align="left"><h2 class="content"><a target="iframe" href="brush.php">
    		Brush/Pinceaux Photoshop</a></h2></td>
    	</tr>
    		<tr>
     
    		<td align="left">&nbsp;</td>
    	</tr>
    		<tr>
    		<td align="left"><h2 class="content"><a target="iframe" href="fonts.php">
    		Polices de caracteres/Fonts</a></h2></td>
    	</tr>
    		<tr>
    		<td align="left">&nbsp;</td>
     
    	</tr>
    		<tr>
    		<td align="left"><h2 class="content"><a target="iframe" href="webdesign-magazine.php">
    		Webdesign Magazine</a></h2></td>
    	</tr>
    		<tr>
    		<td align="left">&nbsp;</td>
    	</tr>
     
    		<tr>
    		<td align="left"><h2 class="content"><a target="iframe" href="webdesign-website.php">
    		Webdesign website</a></h2></td>
    	</tr>
    		<tr>
    		<td align="left">&nbsp;</td>
    	</tr>
     
    		<tr>
     
    		<td align="left"><h2 class="content"><a target="iframe" href="inspiration-typo.php">
    		Inspiration Typo</a></h2></td>
    	</tr>
     
    			<tr>
    		<td align="left"><h2 class="content"><a target="iframe" href="inspiration.php">
    		Inspiration </a></h2></td>
    	</tr>
     
    				<tr>
     
    		<td align="left"><h2 class="content"><a target="iframe" href="photographie.php">
    		photographie </a></h2></td>
    	</tr>
     
    </table>
     
     
    </div>
     
    <div id="srodek">
    <iframe src="page-modele.php" width="571" height="625" name="iframe" frameborder="0" scrolling="no" marginwidth="0" marginheight="0">
    </iframe>
     
    </div>
     
    </div>
    </td>
    </tr>
    </table>
    </body>
    </html>

    Attention ton code passe le validateur mais cela ne veut pas dire qu'il respecte les recommandations du W3C.

  3. #3
    Expert confirmé
    Avatar de RomainVALERI
    Homme Profil pro
    POOête
    Inscrit en
    Avril 2008
    Messages
    2 652
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 48
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : POOête

    Informations forums :
    Inscription : Avril 2008
    Messages : 2 652
    Points : 4 164
    Points
    4 164
    Par défaut
    Citation Envoyé par Macmillenium Voir le message
    Attention ton code passe le validateur mais cela ne veut pas dire qu'il respecte les recommandations du W3C.
    A quoi penses-tu en particulier ?

  4. #4
    Rédacteur
    Avatar de Macmillenium
    Homme Profil pro
    Développeur front-end
    Inscrit en
    Mars 2008
    Messages
    2 333
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur front-end
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 2 333
    Points : 3 748
    Points
    3 748
    Par défaut
    Citation Envoyé par RomainVALERI Voir le message
    A quoi penses-tu en particulier ?
    Tu peux faire valider un code bourré de <table> ou même à base de &nbsp; et <br />
    Le validateur du W3C n'est qu'un script CGI qui intègre un parser XML/SGML et qui vérifie simplement si le code respecte les règles d'écriture du Doctype déclaré.
    Ceci dit, un code valide ne veut pas forcément dire propre.

Discussions similaires

  1. Réponses: 1
    Dernier message: 19/07/2013, 10h03
  2. aide sur ces erreur comment les corriger
    Par selmani300 dans le forum C
    Réponses: 4
    Dernier message: 31/05/2009, 13h51
  3. Comment générer une erreur suite à une mauvaise saisie
    Par vivevba dans le forum Macros et VBA Excel
    Réponses: 2
    Dernier message: 02/05/2009, 18h23
  4. [W3C] 39 erreurs suite à la validation.Comment les corriger ?
    Par colorandesign dans le forum Balisage (X)HTML et validation W3C
    Réponses: 9
    Dernier message: 12/12/2008, 23h06
  5. Erreurs php, comment les récupérer dans une string?
    Par Invité dans le forum Langage
    Réponses: 1
    Dernier message: 30/10/2008, 19h25

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo