[-Résolu-] Code javascript normes w3c
Dernière réponse : dans Programmation
Bonjour,
Le code de titag :
Le problème c'est qu'il n'est pas valide aux normes w3c donc il me fiche en l'air toute ma page vu qu'il la ren invalide !
Vous avez une solution ?
Merci d'avance.
Le code de titag :
<script language='JavaScript' type='text/javascript' src='<a href="http://g.a1.titag.com/?s=^^^^&ex=a3" target="_blank">http://g.a1.titag.com/?s=^^^^&ex=a3</a>'></script>
<noscript><a href='<a href="http://www.titag.com" target="_blank">http://www.titag.com</a>' target='top'><img border=0 width=88 height=31 src='<a href="http://free.a3.titag.com/^^^^" target="_blank">http://free.a3.titag.com/^^^^</a>'></a></noscript>
Le problème c'est qu'il n'est pas valide aux normes w3c donc il me fiche en l'air toute ma page vu qu'il la ren invalide !
Vous avez une solution ?
Merci d'avance.
Autres pages sur : resolu code javascript normes w3c
Lassé par la pub ? Créez un compte
Validation Output: 4 Errors
1. Error Line 1, Column 0: no document type declaration; will parse without validation.
<script language='JavaScript' type='text/javascript' src='http://g.a1.titag.com/
✉
The document type could not be determined, because the document had no correct DOCTYPE declaration. The document does not look like HTML, therefore automatic fallback could not be performed, and the document was only checked against basic markup syntax.
Learn how to add a doctype to your document from our FAQ, or use the validator's Document Type option to validate your document against a specific Document Type.
2. Warning Line 1, Column 87: cannot generate system identifier for general entity "ex".
…t' src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='http
✉
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.
If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
3. Error Line 1, Column 87: general entity "ex" not defined and no default entity.
…t' src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='http
✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
4. Error Line 1, Column 89: reference to entity "ex" for which no system identifier could be generated.
… src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='http:/
✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
5. Info Line 1, Column 86: entity was defined here.
…pt' src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='htt
6. Error Line 1, Column 113: document type does not allow element "NOSCRIPT" here.
…com/?s=222&ex=a3'></script> <noscript><a href='http://www.titag.com' target='
✉
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).
1. Error Line 1, Column 0: no document type declaration; will parse without validation.
<script language='JavaScript' type='text/javascript' src='http://g.a1.titag.com/
✉
The document type could not be determined, because the document had no correct DOCTYPE declaration. The document does not look like HTML, therefore automatic fallback could not be performed, and the document was only checked against basic markup syntax.
Learn how to add a doctype to your document from our FAQ, or use the validator's Document Type option to validate your document against a specific Document Type.
2. Warning Line 1, Column 87: cannot generate system identifier for general entity "ex".
…t' src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='http
✉
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.
If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
3. Error Line 1, Column 87: general entity "ex" not defined and no default entity.
…t' src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='http
✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
4. Error Line 1, Column 89: reference to entity "ex" for which no system identifier could be generated.
… src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='http:/
✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
5. Info Line 1, Column 86: entity was defined here.
…pt' src='http://g.a1.titag.com/?s=222&ex=a3'></script> <noscript><a href='htt
6. Error Line 1, Column 113: document type does not allow element "NOSCRIPT" here.
…com/?s=222&ex=a3'></script> <noscript><a href='http://www.titag.com' target='
✉
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).
Lassé par la pub ? Créez un compte