Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Goggle searchbox stops page validating

  • Subject: Re: Goggle searchbox stops page validating
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Tue, 14 Mar 2006 09:09:07 +0000
  • Newsgroups: alt.www.webmaster
  • Organization: schestowitz.com / MCC / Manchester University
  • References: <dv5t9u$e0d$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com> <16xpwfsh0cs0l.1mzh5t754k0z9.dlg@40tude.net> <dv5vm2$790$1@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com> <1wgxh314xhjyd$.uncz2fvkkhpn.dlg@40tude.net>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ Els ] on Tuesday 14 March 2006 09:05 \__

> T.J. wrote:
>> "Els" <els.aNOSPAM@xxxxxxxxxx> wrote in message
>> news:16xpwfsh0cs0l.1mzh5t754k0z9.dlg@xxxxxxxxxxxxx
>>> T.J. wrote:
>>>> I added a Google search box to my page
>>>> and now when checking with the validators
>>>> it produces errors and says
>>>> "end tag for element "INPUT" which is not open"
>>> Do you have a URL?
>> http://www.uksmallbusinessdirectory.co.uk
>> it's the search box top middle of page.
>> It is an AdSense search box which is also a
>> site search.
> The doctype on your page is HTML transitional, but Google's searchbox
> code validates as XHTML transitional (hence the closing tags on input
> elements).
> You have 3 choices: change your doctype to XHTML transitional and then
> try to solve the 217 resulting erros in your own code ;-) or stick to
> HTML transitional and either delete the </input> and </p> tags from
> Google's code, or put up with the 13 errors.

Off my source (valid XHTML/CSS):

   <form method="get" action="http://www.google.com/custom";>
        <input type="text" name="q" size="15" maxlength="255" value="" /><br/>
        <input type="submit" name="sa" value="Google &rsaquo;" />

        <input type="hidden" name="sitesearch" value="example.org" />
        <input type="hidden" name="client" value="pub-2479740519054892"></input>
        <input type="hidden" name="forid" value="1"></input>
        <input type="hidden" name="ie" value="ISO-8859-1"></input>
        <input type="hidden" name="oe" value="ISO-8859-1"></input>
        <input type="hidden" name="cof" value="<<<<SITE-SPECIFIC>>>>>"></input>
        <input type="hidden" name="hl" value="en"></input>

Hope it helps,


[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index