954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Google search bar

By Hosmer23 on Apr 18th, 2007 9:03 am

Put your very own Google search bar on your web page.

<!-- Search Google -->
<center>
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="Logo_40wht.gif" 
border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->

hi, i added this code on my live space - it deos work but all u can see is an "X" with google written next to it.!
can we do it in a way that google logo is seen instead of the red colored "X" sign and also is it possible that when we click on it - the google web page is opened in a seperate tab instead of the same tab..

cheers

atoerk
Newbie Poster
1 post since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

that good image needs to be saved in the same folder where that htmp page has been saved, changing the image src

5th6hh6
Newbie Poster
1 post since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

thanks for this code, this code is appear at the centre of the screen can we position this code on right side?

saqib1900
Newbie Poster
1 post since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

@saqib1900

Remove and

alexpja
Newbie Poster
2 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

Thanks for this code
Greate information

ramisgill
Newbie Poster
1 post since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You