[W3C] Validation du code avec W3C
Bonjour
J'essaye de valider un page web et j'ai les erreurs suivantes que je ne comprend pas. Pourquoi les attribus ne sont-ils pas valide ? Est ce que vous pourriez m'aider ?
Code:
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
|
1. Error there is no attribute X
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.
* Line 26, column 9: there is no attribute "align"
<p align="center"><img src="./images/logo.jpg" alt="logo" /></p>
* Line 48, column 12: there is no attribute "width"
<td width="40%" align="center">
* Line 56, column 67: there is no attribute "target"
ilié à la <a href="http://www.fna.asso.fr" target="_blank">
* Line 57, column 37: there is no attribute "border"
<img src="./images/fna.gif" border="0px" alt="fna" align="absmiddle" /></a><b
* Line 57, column 59: there is no attribute "align"
<img src="./images/fna.gif" border="0px" alt="fna" align="absmiddle" /></a><br/> |