Formulář od Google

Ukázka kódu, který posílá Google po registraci na Free Search:

<CENTER>
<FORM action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top><td>
<A HREF=http://www.google.com/search>
<IMG SRC=http://www.google.com/logos/Logo_40wht.gif border=0 ALT=Google align=middle></A>
</td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=sa VALUE="Google Search">
<INPUT type=hidden name=cof VALUE="GIMP:#666666;T:black;LW:131;ALC:red;L:http://www.jakpsatweb.cz/images/jakpw.gif;GFNT:#44AA66;LC:#333366;LH:88;BGC:white;AH:center;VLC:#3344bb;GL:1;S:http://www.jakpsatweb.cz;GALT:#333366;AWFID:cd3b0da9086e6693;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="jakpsatweb.cz"><br><input type=radio name=sitesearch value="" checked> Search WWW <input type=radio name=sitesearch value="jakpsatweb.cz"> Search jakpsatweb.cz </font><br>
</td></tr></TABLE>
</FORM>
</CENTER

Google
Search WWW Search jakpsatweb.cz

Kód se dá zjednodušit:

<form action="https://www.google.com/custom">
<input type="text" name="q" size="31">
<input type="submit" value="Vyhledat Googlem na tomto webu">
<input type="hidden" name="cof" value="GIMP:#666666;T:black;LW:131;ALC:red;L:https://www.jakpsatweb.cz/images/jakpw.gif;GFNT:#44AA66;LC:#333366;LH:88;BGC:white;AH:center;VLC:#3344bb;GL:1;S:http://www.jakpsatweb.cz;GALT:#333366;AWFID:cd3b0da9086e6693;">
<input type="hidden" name="domains" value="jakpsatweb.cz">
<input type="hidden" name="sitesearch" value="jakpsatweb.cz">
</form>

Příklad se vztahuje k textu Hledání na vlastním serveru