| Posted by William Tasso on 06/30/87 11:37 
Fleeing from the madness of the  junglePaul Watt <paulio@wattioNOSPAM.freeserve.co.uk> stumbled into
 news:alt.html,alt.macromedia.dreamweaver,alt.www.webmaster
 and said:
 
 [Follow-ups suggested]
 
 > Hi,
 > The following code fails validation when used with a html 4.01 strict
 > DTD.
 > why and how can i fix it?
 
 Is this a guessing game?  how about some context?  remainder of markup or
 a URI would be useful.
 
 ok - guessing ....
 
 >
 > <form action="/cgi-sys/entropysearch.cgi" target=searchwindow
 > class="search">
 
 target not allowed - lose it.
 
 >     <img src="images/search.gif" alt="search" width="70" height="13">
 >     <input type="text" name="query" value="" />
 
 elements don't need the closing "/" in HTML - lose them
 
 >     <input type="hidden" name="user" value="dunmowka" />
 >     <input type="hidden" name="basehref"
 > value="http://dunmowkarate.co.uk"
 > />
 >     <input type="hidden" name="template" value="default" />
 >     <input type="submit" value="Search" />
 >   </form>
 
 There is no fieldset defined - IIRC you do need some sort of containing
 element - perhaps a <div> would do.  Or maybe you need both - can't
 remember now.
 --
 William Tasso
 
 Save the drama
 for your Mama.
 [Back to original message] |