[thelist] Form wont validate in XHTML 1.1
Sarah Sweeney
mr.sanders at designshift.com
Sat Oct 30 22:24:54 CDT 2004
> <snip>
> Can some kind soul please tell me where I am going wrong with my code?
> <snip>
>
> <div class="searchbox">
> <p><form action="/cgi-sys/entropysearch.cgi">
> <input type="text" name="query" value="" />
> <input type="hidden" name="user" value="*****" />
> <input type="hidden" name="basehref"
> value="http://jewelswebgraphics.com" />
> <input type="hidden" name="template" value="default" />
> <input type="submit" value="Search" />
> </form></p>
> </div>
You can't have a <form> inside a <p> tag. You can either remove the <p>
tag altogether or move it inside the <form> tag.
HTH
--
Sarah Sweeney
Web Developer & Programmer
Portfolio :: http://sarah.designshift.com
Blog, etc :: http://hardedge.ca
More information about the thelist
mailing list