You are here: Re: vailidation fail? « HTML « IT news, forums, messages
Re: vailidation fail?

Posted by William Tasso on 11/22/87 11:37

Fleeing from the madness of the jungle
Paul 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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация