Google Blogoscoped

Forum

Google search box HTML

Brinke Guthrie [PersonRank 10]

Thursday, May 3, 2007
12 years ago5,631 views

Anyone know where to find the html for the search box to add to a site? I'd like the one shaped like a square as opposed to a long thin box. I'd, uh, Google it, but I am not sure what to call what I am looking for.

Haochi [PersonRank 10]

12 years ago #

I think you mean one of these, but they are all redirect to Google Custom Search Engine...
google.com/services/websearch. ...

The HTML is, if you prefer,

<form method="get" action=" google.com/search\">
<input type="text" name="q" size="31" maxlength="255" value="" />
<input type="submit" value="Google Search" />
##optional
<input type="radio" name="sitesearch" value="" />The infinite World Wide Web
<input type="radio" name="sitesearch" value="YOUR-URL.TLD" checked />Ask Haochi!<br />
##//optional
</form>

Brinke Guthrie [PersonRank 10]

12 years ago #

well, i just wanted a small Google search box.

Philipp Lenssen [PersonRank 10]

12 years ago #

There's also AdSense for search:
www.google.com/adsense/search- ...

Do you want to allow people to search your own site, or just have a general Google search engine on your site...?

This thread is locked as it's old... but you can create a new thread in the forum. 

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!