I m confused, when I validate my code through different doctypes through W3C, I get different errors. Here is my code that i wrote 3 or 4 years ago.
[code=html]
<html>
<head>
<title>Contact Form</title>
<STYLE type=”text/css”>
Body {font-family:arial, helvetica, arial, sans-serif; color:#666666;top:0;left:0;margin:0;padding:0;}
A:link, A:visited, A:active { color:#666666; text-decoration:none;}
A:hover { color:#000000;}
form { font-family: Times New Roman;FONT-SIZE:8.5pt; }
textarea { background-color: #ECF0F8; FONT-FAMILY:Verdana,Arial,Helvetica;FONT-SIZE:8.5pt;COLOR:#000000;BORDER:1px solid black;}
input { background-color: #ECF0F8; FONT-FAMILY:Verdana,Arial,Helvetica;FONT-SIZE:8.5pt;COLOR:#000000;BORDER:1px solid black; }
.inputstyle { background: #fff url(“images/inputbg.jpg”) top left;height: 16px;border: 1px solid #999;border-top-width: 0px;margin-top: -1px; margin-top:0px;}
.pr_subtitle { width:500;font-weight: bold; font-size: 8pt; color: #ffffff; padding: 0px 0px 0px 0px; background-color: #ff8000; border-top: 2px solid #ffaa33; border-bottom: 2px solid #cc5500; }
.Link3 { width:500;background-color:#FFFF99;font-size: 12pt;text-align: left; color: #000000;}
</STYLE>
<meta name=”email” content=”[email protected]”>
<META HTTP-EQUIV=”ImageToolbar” CONTENT=”No”>
<meta http-equiv=”content-type” content=”text/html; charset=UTF-8″>
<META NAME=”ROBOTS” CONTENT=”NOARCHIVE”>
<script language=”JavaScript” type=”text/javascript” src=”stats.js”></script>
</head>
<BODY>
<CENTER>
<TABLE border=”0″ cellpadding=”0″ cellspacing=”0″>
<TBODY>
<TR>
<TD>
<img src=”images/head.jpg” border=”0″ usemap=”#vme” width=”705″ height=”110″ alt=”Virgin Mary Exports”></TD>
</TR>
</TBODY>
</TABLE>
<MAP name=”vme”>
<AREA shape=”rect” coords=”5, 77, 82, 104″ href=”index.php?page=aboutus” alt=”About us”>
<AREA shape=”rect” coords=”94, 78, 265, 105″ href=”index.php?page=ourproducts” alt=”Our products”>
<AREA shape=”rect” coords=”270, 78, 390, 105″ href=”index.php?page=catalogue_page_1″ alt=”Catalogue”>
<AREA shape=”rect” coords=”400, 79, 512, 105″ href=”index.php?page=contactus” alt=”Contact us”>
<AREA shape=”rect” coords=”521, 79, 621, 106″ href=”index.php?page=intro” alt=”Intro”>
<AREA shape=”rect” coords=”626, 79, 703, 106″ href=”index.php?page=main” alt=”Home”>
<AREA shape=”default” nohref alt=”None”>
</MAP>
<img src=”images/contactus.jpg” border=”0″ width=”120″ height=”50″ alt=”Contact us”>
<br><br>
<form action=”http://www.virginmaryexports.com/index.php?page=form” name=”contact” method=”POST”>
<table border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>
<tr>
<td align=”left” valign=”bottom”><img src=”images/line3_1.gif” width=”6″ height=”6″ alt=””></td>
<td background=”images/line3_1_bg.gif”></td>
<td align=”right” valign=”bottom”><img src=”images/line3_2.gif” width=”8″ height=”6″ alt=””></td>
</tr>
<tr>
<td style=”border-left:1px solid #ADADAD; “> </td>
<td align=”center” style=”border:1px solid #fafafa;”>
<TABLE border=”0″ width=”721″ cellspacing=”0″>
<TBODY>
<TR>
<TD BGCOLOR=”#ECF0F8″ width=”139″ align=”left”><B>Full Name:</B></TD>
<TD BGCOLOR=”#ECF0F8″ width=”274″><INPUT type=”text” class=”inputstyle” name=”Name” size=”42″ value=””></TD>
<TR>
<TD width=”139″ align=”left”><B>Email:</B></TD>
<TD width=”274″><INPUT type=”text” class=”inputstyle” name=”Email” size=”42″ value=””></TD>
<TR>
<TD BGCOLOR=”#ECF0F8″ width=”139″ align=”left”><B>Company:</B></TD>
<TD BGCOLOR=”#ECF0F8″ width=”274″><INPUT class=”inputstyle” type=”text” name=”Company” size=”42″ value=””></TD>
<TR>
<TD BGCOLOR=”#FFFFFF” width=”139″ align=”left”><B>Website:</B></TD>
<TD BGCOLOR=”#FFFFFF” width=”274″><INPUT class=”inputstyle” type=”text” name=”Website” size=”42″ value=””></TD>
<TR>
<TD bgcolor=”#ECF0F8″ width=”139″ align=”left”><B>Address:</B></TD>
<TD bgcolor=”#ECF0F8″ width=”274″><INPUT type=”text” class=”inputstyle” name=”Address” size=”42″ value=””></TD>
<TR>
<TD bgcolor=”#FFFFFF” width=”139″ align=”left”><B>City/State/ZIP:</B></TD>
<TD bgcolor=”#FFFFFF” width=”274″><INPUT size=”12″ class=”inputstyle” type=”text” name=”City” value=””> <INPUT type=”text” size=”12″ class=”inputstyle” name=”State” value=””> <INPUT type=”text” class=”inputstyle” size=”12″ name=”Zip” value=””></TD>
<TR>
<TD BGCOLOR=”#ECF0F8″ width=”139″ align=”left”><B>Country:</B></TD>
<TD BGCOLOR=”#ECF0F8″ width=”274″><INPUT type=”text” class=”inputstyle” name=”Country” size=”42″ value=””></TD>
<TR>
<TD BGCOLOR=”#FFFFFF” width=”139″ align=”left”><B>Phone Number:</B></TD>
<TD BGCOLOR=”#FFFFFF” width=”274″><INPUT type=”text” class=”inputstyle” name=”Phone” size=”42″ value=””></TD>
<TR>
<TD BGCOLOR=”#ECF0F8″ width=”139″ align=”left”><B>Fax:</B></TD>
<TD BGCOLOR=”#ECF0F8″ width=”274″><INPUT type=”text” class=”inputstyle” name=”Fax” size=”42″ value=””></TD>
<TR>
<TD BGCOLOR=”#FFFFFF” colSpan=3 width=”742″><B>Type your message here:</B><BR>
<TEXTAREA name=”Comments” rows=”25″ cols=”112″></TEXTAREA></TR>
<TR>
<TD BGCOLOR=”#FFFFFF” width=”139″ align=”left”><B>Verification:</B></TD>
<TD BGCOLOR=”#FFFFFF” colSpan=3 width=”742″><B><br>Type the numbers you see in the picture below.</B><br><img id=”captcha” src=”security/securimage_show.php” alt=”Validate this number”><br><br><INPUT TYPE=”TEXT” name=”imagetext” size=”10″ class=”inputstyle”><br></TD></TR>
<TR>
<TD colSpan=2 bgcolor=”#FFFFFF” width=”613″><br><INPUT class=”input” type=”submit” name=”submit” value=”Send Form”> <input class=”input” type=”reset” value=”Reset” name=”B2″><br><br></TD></TR>
</TBODY>
</TABLE>
</td>
<td background=”images/line3_2_line.gif”> </td>
</tr>
<tr>
<td align=”left” valign=”bottom”><img src=”images/line3_4.gif” width=”6″ height=”9″ alt=””></td>
<td background=”images/line3_4_bg.gif”></td>
<td align=”right” valign=”bottom”><img src=”images/line3_3.gif” width=”8″ height=”9″ alt=””></td>
</tr>
</table>
</form>
<script language=”JavaScript” type=”text/javascript”>
<!–
document.contact.Name.focus();
//–>
</script>
<br><br>
<br>
<font size=”1″><b>You are our visitor number 32769 and 2 users currently online !</b>
</font><br>
<img border=”0″ src=”images/opposite.jpg” width=”120″ height=”27″ alt=”image”>
</center>
</body>
</html>