leet8845 Posted September 21, 2007 Share Posted September 21, 2007 Hi all, I have built a web site in dreamweaver, and i have been validating my pages as I go along. Everthing has been fine so far however, I get a error for every text field on my contact form; 'the tag: "input" has an XML style closing syntax for an empty element even though version: "HTML4" is not an XML tag language. ' I'm not sure what the proper way for inserting a input tag is, so it validates. Any help appreciated Thanks for looking Here is my form; [code]]<form id="form1" name="form1" method="post" action=""> <table width="100%" cellpadding="3"> <tr> <td width="23%" class="style1">Name: </td> <td width="54%"><input type="text" name="textfield" /></td> <td width="23%"> </td> </tr> <tr> <td class="style1">Company Name: </td> <td><input type="text" name="textfield2" /></td> <td> </td> </tr> <tr> <td class="style1">Message:</td> <td><textarea name="textarea" rows="3" cols="21"></textarea></td> <td> </td> </tr> <tr> <td class="style1">Address Line 1: </td> <td><input type="text" name="textfield4" /></td> <td> </td> </tr> <tr> <td class="style1">Address Line 2 </td> <td><input type="text" name="textfield5" /></td> <td> </td> </tr> <tr> <td class="style1">Postcode:</td> <td><input type="text" name="textfield6" /></td> <td> </td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Submit"></td> <td> </td> </tr> </table> </form> [/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.