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 :

[XHTML] comment respecter W3C


Sujet :

HTML

  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut [XHTML] comment respecter W3C
    Bonjour !

    Voilà je pense, personnellement, que les normes W3C devraient être mieux respectée donc ayant acquis les bases en HTML et CSS je voudrais m'y mettre mais le pb c'est que je ne sais pas trop ce qu'il faut faire pour être aux normes donc si quelqu'un avait un petit tuto ou un truc du genre (en français car l'anglais et moi ça fait 3) pour savoir ce qu'il y a faire pour respecter ces normes ça serait cool.

    Merci d'avance à tous

  2. #2
    Membre Expert Avatar de HiRoN
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 035
    Par défaut
    Il te suffit d'aller ici :

    http://xhtml.developpez.com/outils/?...eur-multipages

    Et de te servir du Validateur W3C.

    Je ne sais pas trop ce qu'il faut faire pour être aux normes.
    Tu mets ta page en ligne.
    Tu mets l'url dans le validateur qui te renvoie les erreurs de normes, et tu corriges...

    Respecter la norme, ça correspond à :

    Syntaxe
    La grammaire du XHTML répond à certaines règles :

    * Les noms des balises et des attributs sont en minuscules.
    On écrit : <p> et plus <P>.

    * Les valeurs des attributs sont entre doubles quotes.
    On écrit : <p align="center"> et plus <p align=center>.

    * Tout attribut doit impérativement avoir une valeur.
    On écrit : <table border="1"> et plus <table border>.

    * Toute balise ouvrante doit être refermée.
    On écrit : <p>blabla</p> et plus <p>blabla.

    * Toutes les balises sont ouvrantes.
    On écrit : <br /> et plus <br> ou encore : <hr width="50%" /> et plus <HR WIDTH=50%>.

    * Les balises doivent être correctement imbriquées.
    On écrit : <p><i>blabla</i></p> et pas <p><i>blabla</p></i>.
    Tout document qui se conforme strictement à ces règles sera dit bien formé (et sera donc valide...)
    Pensez à utiliser les ressources disponibles en Dev. Web :
    (x)HTML : Cours (X)HTML / FAQ (X)HTML
    CSS : Cours CSS / FAQ CSS / Galerie CSS
    Javascript : Cours / FAQ / Sources
    Mon site : Développeur Web Freelance

  3. #3
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    ok merci mais il y a pas des tutos avec des trucs à faire ou à ne pas faire ... ?

    Comme je t ai dit l'anglais et moi ça fait 2 et surtout que je comprends rien à leur pb....

    exmple il mets :

    Line 9, Column 29: required attribute "TYPE" not specified.

    <script language="JavaScript">



    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    alors que ligne 9 c'est encore des balises meta et de plus partout dans ma page, quand j'utlise la balise script j'cris :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     <script type="text/javascript"> ..... </script>
    Donc je comprends vraiment rien...

  4. #4
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    j avais pas fait attentio à à la fin de ton post et tout ce que tu me dis c'est bien ce que j efais donc ça va ça me rassure je devrais pas faire d'effort pour me mettre à ces règles.

    De même il me parle de plein de pn avec mes <frame > alors que j en utilise pas.... JE COMPRENDS RIEN !!!!!!!!!

  5. #5
    Membre Expert Avatar de HiRoN
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 035
    Par défaut
    Il te suffit de prendre le temps de comprendre tes erreurs en fonction des messages donnés par le validateur qui seront pour la plupart des cas des erreurs de syntaxe, voir de conception + générale de la(les) page(s) (comme par ex, imbriquer des éléments qu'on ne doit pas imbriquer ensemble )

    Au niveau anglais, trouve un traducteur en ligne qui te permettra de comprendre au moins le sens général des messages délivrés (mais pour du long terme, mets-toi à l'anglais !)
    Pensez à utiliser les ressources disponibles en Dev. Web :
    (x)HTML : Cours (X)HTML / FAQ (X)HTML
    CSS : Cours CSS / FAQ CSS / Galerie CSS
    Javascript : Cours / FAQ / Sources
    Mon site : Développeur Web Freelance

  6. #6
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    je veux bien prendre le temps de comprendre mais il me mets 12 validation output avec des trucs qui n existe pas il me parle 8 fois de problemes soir sur frameset soit frame :

    # Line 22, Column 15: there is no attribute "ROWS".

    <frameset rows="100%,*" frameborder="NO" border="0" framespacing="0">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    # Error Line 22, Column 36: there is no attribute "FRAMEBORDER".

    <frameset rows="100%,*" frameborder="NO" border="0" framespacing="0">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    # Error Line 22, Column 48: there is no attribute "BORDER".

    <frameset rows="100%,*" frameborder="NO" border="0" framespacing="0">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    # Error Line 22, Column 65: there is no attribute "FRAMESPACING".

    …s="100%,*" frameborder="NO" border="0" framespacing="0">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    # Error Line 22, Column 68: element "FRAMESET" undefined.

    …%,*" frameborder="NO" border="0" framespacing="0">



    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

    # Error Line 23, Column 12: there is no attribute "NAME".

    <frame name="main_frame" src="http://******.servhome.org">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    # Error Line 23, Column 29: there is no attribute "SRC".

    <frame name="main_frame" src="http://*****.servhome.org">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    # Error Line 23, Column 64: element "FRAME" undefined.

    …="main_frame" src="http://******.servhome.org">



    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    alors que mon document utilise pas de frames ....
    Il me parle deux fois de script :
    # Line 9, Column 29: required attribute "TYPE" not specified.

    <script language="JavaScript">



    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    # Error Line 14, Column 7: required attribute "TYPE" not specified.

    <script>



    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    alors que ligne 9 c'est une balise meta et ligne 14 c'est la fin d'un commentaire conditionnel<![endif]-->

    Et que partout dans mon document j'utilise mes cript de cette façon :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
     
    <script type="text/javascript">                         
    var aujourdhui = new Date();
    document.write("<p>" + dateComplete(aujourdhui) + "</p>");
    </script>
    ou
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    <script type="text/javascript" src="date.js"></script>
    et mes images sont ttes sous la forme :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    <img scr="...png" alt="..." title="...">

  7. #7
    Membre expérimenté
    Profil pro
    Inscrit en
    Janvier 2007
    Messages
    241
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2007
    Messages : 241
    Par défaut
    Salut,

    tu n'aurais pas un hébergeur genre gratuit qui met tes documents dans un frameset par hasard ?

  8. #8
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    Je suis sur u hébergeur gratuit oui : servhome.

    Ca veut dire que mon site ne sera sonc jamais valide ?

  9. #9
    Membre Expert Avatar de HiRoN
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 035
    Par défaut
    En effet, dans ce cas, c'est bizarre...
    Je n'est jamais eu ce genre de problème avec un validateur...
    Un problème de DOCTYPE ?

    Essaie par exemple avec le "W3C Link Checker", donné sur la même page que le 1er validateur afin de voir ce que te dis celui-ci.
    Pensez à utiliser les ressources disponibles en Dev. Web :
    (x)HTML : Cours (X)HTML / FAQ (X)HTML
    CSS : Cours CSS / FAQ CSS / Galerie CSS
    Javascript : Cours / FAQ / Sources
    Mon site : Développeur Web Freelance

  10. #10
    Membre Expert Avatar de HiRoN
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 035
    Par défaut
    Je suis sur un hébergeur gratuit oui : servhome.
    Ca veut dire que mon site ne sera sonc jamais valide ?
    Bonne question...
    N'ayant jamais rencontré ce genre de problèmes, je ne peux répondre...

    Mais l'intention de t'aider était là !
    Pensez à utiliser les ressources disponibles en Dev. Web :
    (x)HTML : Cours (X)HTML / FAQ (X)HTML
    CSS : Cours CSS / FAQ CSS / Galerie CSS
    Javascript : Cours / FAQ / Sources
    Mon site : Développeur Web Freelance

  11. #11
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    Il me dit :
    Sorry, I am unable to validate this document because its content type is application/octet-stream, which is not currently supported by this service.

    The Content-Type field is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as ".html") to MIME Content-Type values (such as text/html).

    That you received this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page.
    Sinon oui j ai eu un pb de doctype sur mon fichier j ai :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html lang="fr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
    mais il n'apprécient pas...

  12. #12
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    mes pages sont au format php..., c'est grave ?

  13. #13
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    ma page html/php:
    Code : 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
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html lang="fr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
     
    	<head>
     
    		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    		<meta name="description" content="Site personnel de********. Etudiant en bts informatique de gestion dans le Nord." />
    		<meta name="keywords" content="developpement web, *** ****, 59, nord, lille, saint remi, Roubaix" />
    		<meta name="robots" content="index, follow" />
    		<meta http-equiv="pragma" content="no-cache" />
    		<link rel="stylesheet" media="screen" type="text/css" title="orange" href="designOrange.css" />
    		<!--[if IE]>
    		<link rel="stylesheet" media="screen" type="text/css" title="designI" href="designIE.css" />
    		<![endif]-->
    		<title>site personnel *******</title>
     
    	</head>
     
    	<body>
     
    		<script type="text/javascript" src="date.js"></script>
     
    		<center>
     
    		<div id="page">
     
    			<div id="banniere"> 
     
    				<script type="text/javascript">
                                            
                                            var aujourdhui = new Date();
                                            document.write("<p>" + dateComplete(aujourdhui) + "</p>");
                                            
                                    </script>
     
    			</div>
     
    			<div id="menu">
     
    				<a href="index.php"> <div class="textMenu"> Accueil </div> </a>
    				<a href="presentation.html"> <div class="textMenu"> Pésentation </div> </a>
    				<a href="realisations.html"> <div class="textMenu"> Mes réalisations </div> </a>
    				<a href="contact.php"> <div class="textMenu"> Me contacter </div> </a>
    				<a href="divers.php"> <div class="textMenu"> Divers </div> </a>
     
    			</div>
     
    			<div id="haut"></div>
     
    			<div id="corps">
     
    				<?PHP
                                            
                                            include("connexion.txt");
                                            $sql = "SELECT * FROM texteaccueil";
                                            $reponse = mysql_query($sql) or die ("ERREUR SQL ".$sql."<br />".mysql_error());
                                            while ($donnees = mysql_fetch_array($reponse))
                                            {
                                                    echo("$donnees[accueil]");
                                            }
                                            
                                            include("connexion.txt");
                                            $sql = "SELECT * FROM news ORDER BY id";
                                            $reponse = mysql_query($sql) or die ("ERREUR SQL ".$sql."<br />".mysql_error());
                                            while ($donnees = mysql_fetch_array($reponse))
                                            {
                                                    echo("<fieldset>");
                                                    echo("<legend class=\"rouge\"> $donnees[titre] </legend>");     
                                                    echo("<img src=\"$donnees[image]\" alt=\"$donnees[titre]\" title=\"$donnees[titre]\">");
                                                    echo("$donnees[corps]");
                                                    echo("</fieldset>");
                                            }
                                    ?>
     
    			</div>
     
    			<div id="arriere"> <table align="center"> <tr> <td> Réalisation 2007 : Devin | </td> <td> <a href="Curriculum Vitae.pdf"> <img src="images/pdf.gif" width="20" height="20"> </a> </td> <td> <a href="Curriculum Vitae.pdf"> télécharger mon CV </a> </td> <td> | <a href="plan.html"> plan du site </a> </td> <td> | <a href="administration.php">administration </a> </td> </tr> </table> </div>
     
    		</div>
     
    		</center>
     
    	</body>
     
    </html>
    résultat :

    voir au dessus + pb doctype et pb sur balise body

  14. #14
    Membre Expert Avatar de HiRoN
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 035
    Par défaut
    Les pages sont au format php..., c'est grave ?
    Non, je ne pense pas (mais je me trompe peut-être).

    Le validateur ne fait que regarder le code renvoyé par le serveur, non le script qui peut être généré.

    Un site peut être en XHTML / PHP, avec une extension .php mais être valide en XHTML 1.0 Strict, validé par un validateur W3C...
    Pensez à utiliser les ressources disponibles en Dev. Web :
    (x)HTML : Cours (X)HTML / FAQ (X)HTML
    CSS : Cours CSS / FAQ CSS / Galerie CSS
    Javascript : Cours / FAQ / Sources
    Mon site : Développeur Web Freelance

  15. #15
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    Ca commence a vraiment me souler, je comprends rien... Je pense que je vais aller m'acheter un bouquin sur le W3C ça doit exister des bons livres là dessus et je vais potasser a part ça je vois pas d'autres solutions...

    Si quelqu'un a une idée pour venir en aide, n'hésitez pas à penser au mp ou a m envoyer un mail.

    Bonne fin d'aprem a tous, je pars au lit j'ai trop mal à la tête.

  16. #16
    Inactif  
    Avatar de Kerod
    Profil pro
    Inscrit en
    Septembre 2004
    Messages
    11 672
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2004
    Messages : 11 672
    Par défaut
    Je te propose de jeter un oeil à ceci : Toutes les balises XHTML 1.1 et c'est en français

  17. #17
    Membre habitué
    Étudiant
    Inscrit en
    Décembre 2007
    Messages
    8
    Détails du profil
    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2007
    Messages : 8
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    This error is often caused by incorrect use of the "Strict" document type with a document that uses frames
    Essaye de passer en transititional, moi ça m'avait supprimer une dixzaine d'erreurs quand j'y suis passer.

  18. #18
    Inactif  
    Avatar de Kerod
    Profil pro
    Inscrit en
    Septembre 2004
    Messages
    11 672
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2004
    Messages : 11 672
    Par défaut
    C'est même pas ça. Il utilise des frames donc je serai plus partant pour une DTD avec frameset

    mais le soucis est de savoir si c'est son code qui est invalide ou si c'est son hébergeur qui utilise des frames.

  19. #19
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    mon code est posté sur la page précédente, c'était hier à 16h25.

    Merci pour ce lien Kerod, je veux aller y jeter un coups d'oeil.

  20. #20
    Membre confirmé
    Profil pro
    Inscrit en
    Décembre 2007
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2007
    Messages : 98
    Par défaut
    J'ai fait le test avec :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    et j ai :
    No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.
    Pour les doctype vous êtes d'accord qu'il faut mettre ça tout en haut de sa page, juste avant :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    <html lang="fr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 3 123 DernièreDernière

Discussions similaires

  1. [W3C - XHTML] Comment rendre ma page valide ?
    Par retour dans le forum Balisage (X)HTML et validation W3C
    Réponses: 4
    Dernier message: 23/09/2008, 13h11
  2. [XHTML] Comment centrer son arrière plan sur toute page internet?
    Par simplyme dans le forum Balisage (X)HTML et validation W3C
    Réponses: 10
    Dernier message: 28/11/2006, 15h09
  3. [XHTML] Comment réaliser cette boite ?
    Par °°° Zen-Spirit °°° dans le forum Balisage (X)HTML et validation W3C
    Réponses: 6
    Dernier message: 08/09/2006, 20h19
  4. [XHTML] comment insérer une vidéo.wmv
    Par girondins76 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 1
    Dernier message: 29/03/2006, 23h13
  5. [XHTML] Comment créer un site certifié XHTML ?
    Par regbegpower dans le forum ASP.NET
    Réponses: 12
    Dernier message: 08/03/2004, 20h47

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