I am developing a simple website and I want to add Google Search to the website. I created a simple box and add Google Search to it, so when anyone wants to search about something, he just needs to write in that box and then he will be directed to Google Search Results page. The problem is I want to show the Google Search Results page in a new browser window or tab instead of loading it in the same browser window. So how can I do that?
我的代码:
<div id="search">
<input type="text" value="Search">
<a href="#"><img src="images/go.gif" alt="" width="26" height="26" /></a>
</div>