Google Blogoscoped

Forum

Google search box HTML

Brinke Guthrie [PersonRank 10]

Thursday, May 3, 2007
17 years ago6,436 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]

17 years ago #

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

The HTML is, if you prefer,

<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" />
##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]

17 years ago #

well, i just wanted a small Google search box.

Philipp Lenssen [PersonRank 10]

17 years ago #

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

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

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!