1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Adding A Google Search

Discussion in 'Web Design & Development' started by Jaymie1989, Oct 10, 2008.

Thread Status:
Not open for further replies.
  1. Jaymie1989

    Jaymie1989 Thread Starter

    Apr 27, 2007

    Im creating my new website and im wanting to add a google seach but not just the basic one, This is the search box that i have Search.JPG

    This is the HTML code that i have so far
    <form method="get" id="searchform" action="http://www.google.com/search" target="_blank">
    							<table class="search">
    								<td><input type="text" value="" name="s" id="s" /></td>
    								<td style="padding-left: 10px"><input type="image" src="img/button_go.gif" /></td>
    I would either like it to open the search results on my website or in a new window whichis what its set to at the moment but if i search for e.g Tech it just opens googles search page. I would prefer it to open the results in my website.
  2. amanxman


    Mar 28, 2006
    Yeah you need a customised google search to embed into your website to do that. What you have there is a simple link to google's search engine.

    Try this:


As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/758034

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice