Good & simple web search forms

article #334, updated 4636 days ago

Seems like Google really really wants us to use its web 2.0 embedded-expansion search boxes. For a while there I was not able to find code for the simple method. But it’s still out there. Below is a straightforward working sample including Gigablast, Google, and Bing, with optional images.

<HTML>
<HEAD>
</head>

<table border="1" cellpadding="11" cellspacing="0" width="90%">
<tbody>

<tr>
<td style="width: 75%">

<a href="http://www.gigablast.com" style="text-decoration: none;"> 
<!-- &nbsp;<img alt="Gigablast" src="images/gigablast-logo.png"> -->
</a>

<form method="get" action="http://www.gigablast.com/search"> 
<input name="q" type="text" maxlength="255" value="" style="width: 80%"><BR>
<input value="Search using Gigablast" border="0" type="submit"> 
</form>

</td>
</tr>

<tr>
<td style="width: 75%">

<a href="http://www.Bing.com/" style="text-decoration: none;">
<!-- &nbsp;<img src="images/bing.png" border="0" ALT="Bing"> -->
</a>

<form method="get" action="http://www.Bing.com/results.aspx">
<input type="hidden" name="cp" value="utf-8">
<input type="hidden" name="FORM" value="FREEWS">
<input type="text" name="q" maxlength="255" style="width: 80%"><BR>
<input type="submit" value="Search using Bing">
</form>

</td>
</tr>

<tr>
<td style="width: 75%">

<A HREF="http://www.google.com" style="text-decoration: none;">
<!-- &nbsp;<IMG SRC="images/googlewebsearchlogo.png"> -->
</A>

<form method="get" action="http://www.google.com/search">
<input type="text" name="q" maxlength="255" value="" style="width: 80%"><BR>
<input type="hidden" name="sitesearch" value="">
<input type="submit" value="Search using Google">
</form>

</td>
</tr>

</tbody>
</table>

</HTML>

Categories: