ASP.NET 编写Google搜索框
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table bgcolor="#ffffff" style="height: 64px">
<tr>
<td valign="top" nowrap align="left">
<p style="text-align: center"><font color="#ff0000" size="5">搜索是最好的老师,要善用搜索!!!</font></p>
</td>
</tr>
<tr>
<td valign="top" nowrap align="left" height="32">
<a href="http://www.google.com/">
<img alt="Google" src="http://www.google.com/logos/Logo_25wht.gif" align="middle" border="0" />
</a>
<input id="sbi" maxlength="255" size="64" name="q" />
<input id="sbb" οnclick="document.getElementById('Form1').target='google_window';document.getElementById('Form1').action='http://www.google.cn/search'; document.getElementById('Form1').method ='get';document.getElementById('Form1').οnsubmit='';" type="submit" value="搜索" name="sa" />
</td>
</tr>
</table>
</div>
</form>
</body>