I'm trying to validate my web page so it appear consistent in most web browsers. Can someone tell me what to change to correct this? Line 21, Column 50: document type does not allow element "INPUT" here; assuming missing "CAPTION" start-tag. <INPUT name='command' value='search' type='hidden'> Can I replace this with some other element, but keep the script intact? Thanks. Here's some of the page code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Expires" content="0"> <meta name="description" content=", !" > <meta name="keywords" content="" <link href="custom.css" rel="stylesheet" type="text/css"> <link href="../../temp/home/custom.css" rel="stylesheet" type="text/css"> <link href="../style.css" rel="stylesheet" type="text/css"> </head> <table width="770" cellspacing="0" cellpadding="0" id="maintable" align="center"> <INPUT name='command' value='search' type='hidden'> <tr> <td width="770" valign="top" id="footer"></td></tr> <tr> <td colspan="2" id="topline"></td> </tr> <tr> <td align="left" > <img src="./templates/images/topimg.jpg" height="134" width="461"><img src="./templates/images/topimg.jpg" height="134" width="309"></td> </tr> </tr> <td><img src="./templates/images/greyline.gif" width="174" height="9"><img src="./templates/images/white.gif" width="596" height="9"></td> </FORM> </table> Code (markup):
I think it is because you are missing the start to you Form. Try putting the <Form> tag above the <input> tag.