How to add a google search box in your website

Google known as the search giant of internet world. So that you can add a search box of google in your website anywhere in any webpage. It will helpful for your website visitor to search any related information from your site.

The box also helpful to look your site beautiful. Now see how to add a searchbox to your website. It is very easy. Just copy and paste the following code to your webpage where you willing to add search box. That enough....

<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="infotechment.com" checked />Search from this site<br /> </form>

Just change the name of your site and pase the code....


<form method="get" action="http://www.google.com/search"> <div style="border:1px solid black;padding:4px;width:20em;"> <table border="0" cellpadding="0"> <tr><td> <input type="text" name="q" size="25" maxlength="255" value="" /> <input type="submit" value="Google Search" /></td></tr> <tr><td align="center" style="font-size:75%"> <input type="checkbox" name="sitesearch" value="infotechment.com" checked /> Search from this site<br /> </td></tr></table> </div> </form>


1 comments:

Raju said...

Every thing is here