|
Posted by GreyWyvern on 10/06/05 11:37
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]
|