I am currently working on a basic website and I'm looking to incorporate Google Search functionality into it. I've managed to create a simple search box that redirects users to the Google Search Results page when they input their query. However, my issue lies in wanting the search results to open in a new browser window or tab, instead of loading within the same window. Does anyone know how I can achieve this?
Here's an example of my current code:
<div id="search">
<input type="text" value="Search">
<a href="#"><img src="images/go.gif" alt="" width="26" height="26" /></a>
</div>