> Tous les forumsForum des Webmasters

 Ne comprend pas?"this page is not Valid HTML 4.01"
Statut du sujet : NON RESOLU Imprimer
 vano
  Posté le 02/11/2004 @ 10:53  
 Petit astucien

130 Messages
Bonjour, je ne comprends du tout ce que je dois faire pour corriger les erreurs que j'ai sur ma page index! Y-at-il quelqu'un d'assez costaud pour m'aider! Merci!! Voici ce que me donne validator: This page is not Valid HTML 4.01 Transitional! Below are the results of attempting to parse this document with an SGML parser. Line 11, 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>. --------------------------------------------------------------- Line 39, column 26: there is no attribute "HEIGHT" <table width="750" height="420" border="0" align="center" cellpadding="5" cellsp 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. --------------------------------------------------------------- Line 57, column 77: required attribute "ALT" not specified ...parateur_or.gif" width="488" height="32"><br> --------------------------------------------------------------- Line 89, column 625: value of attribute "ALIGN" cannot be "ABSMIDDLE"; must be one of "TOP", "MIDDLE", "BOTTOM", "LEFT", "RIGHT" ...dth="60" height="20" align="absmiddle"><a href="independance_financiere.htm" The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; a value like “selected="true"” is not allowed. ---------------------------------------------------------------- Line 89, column 626: required attribute "ALT" not specified ...th="60" height="20" align="absmiddle"><a href="independance_financiere.htm" t ---------------------------------------------------------------- Line 98, column 18: document type does not allow element "STYLE" here <STYLE TYPE=text/css> 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). --------------------------------------------------------------- Line 104, column 112: required attribute "ALT" not specified ...MG SRC="images/500euros.gif" BORDER=0></A> </p> --------------------------------------------------------------- Line 106, column 29: required attribute "TYPE" not specified <SCRIPT LANGUAGE="javascript"> ---------------------------------------------------------------- Line 156, column 27: required attribute "TYPE" not specified <SCRIPT LANGUAGE=javascript> ---------------------------------------------------------------- Line 187, column 29: required attribute "TYPE" not specified <SCRIPT LANGUAGE="JavaScript"> ---------------------------------------------------------------- Merci et à très bientôt Christian VANO
 Afficher le profil de vanoEnvoyer un message privé à vano
 
 
Publicité
 SIBELIUS  Posté le 02/11/2004 à 11:51  
Petit astucien

339 Messages
Dans l'ordre : - "language" n'existe plus. Pour javascript, il faut remplacer par type="text/javascript" - "height" n'existe plus : TOUTES les propriétés de mise en forme doivent être déterminées en CSS dorénavant : http://www.alsacreations.com/articles/deprecie/ - "alt" est obligatoire sur les images - "absmiddle" n'existe plus
Afficher le profil de SIBELIUSEnvoyer un message privé à SIBELIUS
 Revenir en haut de la page
 vano  Posté le 02/11/2004 à 14:55  
Petit astucien

130 Messages
Sibelius je vois que tu es à la hauteur, je te remercie beaucoup, et j'ai une dernière question à te demander si tu peux encore un peu m'aider? 1) grace à toi j'ai réussi à supprimer 10 erreurs, mais pour celle qui consiste à créer les feuilles de style CSS, pour remplacer l'attribut HEIGHT et STYLE, je n'ai pas beaucoup de connaissance! peut-tu me dire exactement ce que je dois faire pour que les problème ci-dessous soient corrigés! j'attends tes réponses et je te remercie encore 1000 fois! Cordialement Christian VANO Voici ce qu'affiche validator: This page is not Valid HTML 4.01 Transitional! Below are the results of attempting to parse this document with an SGML parser. Line 39, column 26: there is no attribute "HEIGHT" <table width="750" height="420" border="0" align="center" cellpadding="5" cellsp 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. ---------------------------------------------------------------- Line 110, column 18: document type does not allow element "STYLE" here <STYLE TYPE=text/css> 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).
Afficher le profil de vanoEnvoyer un message privé à vano
 Revenir en haut de la page
 SIBELIUS  Posté le 02/11/2004 à 14:59  
Petit astucien

339 Messages
1) grace à toi j'ai réussi à supprimer 10 erreurs, mais pour celle qui consiste à créer les feuilles de style CSS, pour remplacer l'attribut HEIGHT et STYLE, je n'ai pas beaucoup de connaissance!
Là je peux difficilement t'apprendre en 2 lignes comment utiliser les CSS (je suis en train de faire un bouquin de 300 pages dessus !) Par contre voici des liens pour apprendre : - http://mammouthland.free.fr/cours/css/ - http://www.media-box.net/tuts.php?iddr=282 Toutes les ressources : - http://forum.alsacreations.com/topic.php?fid=7&tid=7 Bonne chance
Afficher le profil de SIBELIUSEnvoyer un message privé à SIBELIUS
 Revenir en haut de la page
 SIBELIUS  Posté le 02/11/2004 à 15:01  
Petit astucien

339 Messages
<STYLE TYPE=text/css> 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).
La réponse est donnée dans l'erreur : tu as placé une balise <style> dans le body au-lieu du head.
Afficher le profil de SIBELIUSEnvoyer un message privé à SIBELIUS
 Revenir en haut de la page
 vano  Posté le 03/11/2004 à 22:19  
Petit astucien

130 Messages
bonsoir sibelius, peut-tu me donner un dernier coup de pouce s'il te plait, j'ai une seule erreur qu'il me reste, et je n'arrive pas à la corriger! As-tu la réponse s'il te plait? A très bientôt Sibelius Voici ce que validator m'indique: ------------------------------------------------------------ This page is not Valid HTML 4.01 Transitional! Below are the results of attempting to parse this document with an SGML parser. Line 79, column 209: there is no attribute "ALIGN" ... Arial, Helvetica, sans-serif" align="justify"><font color="#FF0000"><font co 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. -------------------------------------------------------
Afficher le profil de vanoEnvoyer un message privé à vano
 Revenir en haut de la page
 SIBELIUS  Posté le 04/11/2004 à 00:07  
Petit astucien

339 Messages
vano a écrit : Line 79, column 209: there is no attribute "ALIGN" ... Arial, Helvetica, sans-serif" align="justify"><font color="#FF0000">
Ben c'est toujours le même genre d'erreur : TOUTES les propriétés de mise en forme en HTML sont obsolètes. Elle doivent être remplacées par des styles CSS. Dans ton cas, il faut appliquer "text-align: justify" en CSS sur ta balise de texte.
Afficher le profil de SIBELIUSEnvoyer un message privé à SIBELIUS
 Revenir en haut de la page
 vano  Posté le 12/11/2004 à 17:04  
Petit astucien

130 Messages
Bonsoir, je remercie Sibelius qui m'a aider dernièrement à résoudre des problèmes de configuration! Actuellement j'ai une nouvelle errreur qui apparait, et je ne sais pas quoi faire! Si Sibelius est en train de regarder mon message, j'aimerais qu'il puisse me donner la réponse, si bien sûr il a un peu le temps ou quelqu'un d'autre! Merci! voici les messages d'erreurs: ------------------------------------------------------------ This page is not Valid HTML 4.01 Transitional! Below are the results of attempting to parse this document with an SGML parser. Line 87, column 4: non SGML character number 146 Je m¼/strong>?appelle Dominique. J#146;ai une oportunité unique pour vous. Internet -------------------------------------------------------------- Line 87, column 25: non SGML character number 146 Je m#146;appelle Dominique. J#146;ai une oportunité unique pour vous. Internet ---------------------------------------------------------------- Line 89, column 31: non SGML character number 146 de ce nouveau marché mondial. J#146;ai découvert un moyen unique de participer à --------------------------------------------------------------- Line 153, column 45: non SGML character number 146 commerce internet demande peu d¼/strong>?effort mais il demande quand même
Afficher le profil de vanoEnvoyer un message privé à vano
 Revenir en haut de la page
Haut de la page 
Inscrivez-vous !
- Posez vos questions

- Résolvez vos problèmes

- Aidez les autres

- Participez et créez vos discussions

- Dialoguez en privé avec d'autres membres

- Suivez vos sujets préférés

- Affichez les signatures des membres

TOUT EST GRATUIT !

Je crée mon compte



Vous avez besoin d'aide ?
Des centaines d'experts sont à votre disposition sur les forums PC Astuces pour vous aider gratuitement, 24h/24, 7j/7.

Les derniers sujets résolus !
 

 > Tous les forumsForum des Webmasters

 
Forum PC Astuces© 1997-2008 WebastucesAller en haut de la page