|  | Posted by Rguy84 on 07/05/56 11:38 
Uh grey, haven't you ran code through W3C validator lately? it sayswhat to do. Like my hit service gives url's with ampersands. This is a
 no no, W3C says that and says I should change the & to & for
 example.
 GreyWyvern wrote:
 > And lo, Adam Strickland didst speak in
 > alt.html,alt.macromedia.dreamweaver,alt.www.webmaster:
 >
 > [top posting fixed]
 >
 > > "Paul Watt" <paulio@wattioNOSPAM.freeserve.co.uk> wrote...
 > >
 > >> Hi,
 > >> The following code fails validation when used with a html 4.01 strict
 > >> DTD.
 > >> why and how can i fix it?
 > >> TIA
 > >> Paul
 > >
 > > The only thing i know is to close your img tag:
 > >
 > > <img src="images/search.gif" alt="search" width="70" height="13">
 > >
 > > like so:
 > >
 > > <img src="images/search.gif" alt="search" width="70" height="13" />
 >
 > Like William said, these are not allowed in HTML 4.01.  All of these
 > should be removed from the original code given.
 >
 > My question is, the OP gave us this block of code that didn't validate:
 >
 > >> <form action="/cgi-sys/entropysearch.cgi" target=searchwindow
 > >> class="search">
 > >>    <img src="images/search.gif" alt="search" width="70" height="13">
 > >>    <input type="text" name="query" value="" />
 > >>    <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>
 >
 > So who told him/her/it that it didn't validate?  I don't know of any
 > "validation" tool which fails to also supply you with information helpful
 > in fixing the problem.
 >
 > Grey
 >
 > --
 > The technical axiom that nothing is impossible sinisterly implies the
 > pitfall corollary that nothing is ridiculous.
 > - http://www.greywyvern.com/orca#sear - Orca Search: Full-featured spider
 > and site-search engine
  Navigation: [Reply to this message] |