Monday, July 16, 2012

Add a Google search function to a web site

To add a Google search function to a web site add the following code:

*form method="get" action="http://www.google.com/search" target="_blank"**

*input type="text" name="q" size="31" maxlength="255" value="" /**

*input type="submit" value="Google Search" /**

*/form**

Replace * with < and ** with >

And that's it.

No comments: