W3C Markup Validation Service

Status
Not open for further replies.

nicoinfodom77

New Member
Messages
19
Reaction score
0
Points
0
Hi,

I have 3 problems with my php page, which I'm not able to solve for now. Please help me.

Validation Output: 3 Errors

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 83, column 38: there is no attribute "name"
<form action='' method='post' name='Form'>
Line 86, column 29: there is no attribute "width"
<tr><td align='right' width='30%'><span class='txtform'>Votre Nom* :</span></td…
Line 86, column 161: there is no attribute "border"
…'text' style='width:200 ;' name='f_1' value='' size='24' border='0'/></td></tr>

Here is my code :

<form action='' method='post' name='Form'>
<table width='100%' border='0' cellspacing='1' cellpadding='1'>
<tr><td colspan='2'><span class='txterror'>Les champs marqués d'un * sont obligatoires</span></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Votre Nom* :</span></td><td><input type='text' style='width:200 ;' name='f_1' value='' size='24' border='0'/></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Votre Email* :</span></td><td><input type='text' style='width:200 ;' name='f_2' value='' size='24' border='0'/></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Votre Code Postal* :</span></td><td><input type='text' style='width:200 ;' name='f_3' value='' size='24' border='0'/></td></tr>

Thanks !
 
Status
Not open for further replies.
Top