- From: Chris Wolcott <wolcott@attglobal.net>
- Date: Sat, 19 Jul 2008 12:06:19 -0400
- To: www-validator@w3.org
This section fails the validator: <div> <form action="https://www.xxxxxx.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="name@domain.net" /> <input type="hidden" name="item_name" value="Comment" /> <input type="hidden" name="cn" value="Why I like your site" /> <input type="image" src="https://www.xxxxxx.com/images/x-click-but04.gif" id="submit" alt="Comment on Site" /> </form> </div> I get this error for every input element: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag. and finally the error: 'end tag for "form" which is not finished'. All the sites I've looked at for how to do forms in xhtml say this is correct, even the TIDDY-UP program on the validator site returns this same code. What is wrong with this? How do I get the page to validate?
Received on Monday, 21 July 2008 08:07:42 UTC