Posted on 2005-10-11 10:07
橘子 阅读(2027)
评论(7) 编辑 收藏 所属分类:
网言絮语
<!-- SiteSearch Google -->
<FORM method=GET action="
http://www.google.com/search"><INPUT TYPE=hidden name=ie value=GB2312>
<INPUT TYPE=hidden name=oe value=GB2312>
<INPUT TYPE=hidden name="hl" value="zh-CN">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="
http://www.google.com/"><IMG SRC="
http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google"></A>
</td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=submit name=btnG VALUE="Google Search">
<font size=-1>
<INPUT TYPE=hidden name=domains value="YOUR DOMAIN NAME"><br>
<INPUT TYPE=radio name=sitesearch value=""> 搜索WWW
<INPUT TYPE=radio name=sitesearch value="YOUR DOMAIN NAME" checked> 搜索YOUR DOMAIN NAME <br>
</font>
</td></tr></TABLE>
</FORM>
<!-- SiteSearch Google -->
可以选择搜索范围是本站还是互联网
下面的代码是单纯的google搜索
<!-- Search Google -->
<center>
<FORM method=GET action="
http://www.google.com/search"><TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="
http://www.google.com/intl/zh-CN/"><IMG SRC="
http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value=zh-CN>
<INPUT TYPE=hidden name=ie value=GB2312>
<INPUT TYPE=submit name=btnG value="Google 搜索">
</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->