PDA

View Full Version : adding a search box



PotsNPans
2011-06-15, 07:07 AM
What's the easiest way to add a search box when building your business website?

suwunk
2011-06-15, 11:29 AM
Here's the minimalist Google search form that you can add to your website and lets your site user alternate search between your site or the entire Google:

<form method="get" action="http://www.google.com/search">

<input type="text" name="q" size="31"
maxlength="255" value="" />
<input type="submit" value="Google Search" />
<input type="radio" name="sitesearch" value="" />
The Web
<input type="radio" name="sitesearch"
value="yoursite url" checked /> search on this site <br />

</form>
check out Google Custom Search (http://www.google.com/cse/) for another options