baidu、google 简搜索框嵌入网页代码

来源:互联网 发布:安能快递有淘宝店用吗 编辑:程序博客网 时间:2024/06/05 14:08
<!--baidu-->  <div>  <form action="http://www.baidu.com/s">  <input type="text" name="wd" id="kw"/>  <input type="submit" value="Baidu" />  </form>  </div>  
<!--google-->  <div>  <form action="http://www.google.com/search" method="get">  <input type="text" name="q" size="20" maxlength="255" value="" />  <input type="submit" name="btnG" value="Google" />  </form>  </div>  
<!--google search-->  <div>  <FORM method="GET" action="http://www.google.com/search">    <input type="hidden" value="GB2312">    <input type="hidden" value="GB2312">    <INPUT TYPE="hidden" VALUE="zh-CN">   <div style="float:left">    <IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" height="20px">  </div>  <div style="float:left">  <INPUT TYPE="text" name="q" size="18" maxlength="255"  value="">   <INPUT type="submit" name="btnG" VALUE="Google搜索">    </div><br><br>  <div>  <input type="radio" name="sitesearch" value="这里输入你的网站地址" checked>全球搜索    <input type="radio" name="sitesearch" value="" > 本站搜索  </div>   </FORM>   </div>  
<!--baidu search-->  <div>  <iframe border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"      framespacing="0" frameborder="0" scrolling="no" width="200" height="30"      src="http://unstat.baidu.com/bdun.bsc?tn=dabaoku&cv=1&cid=31577&csid=102&rkcs=2&bgcr=EDEDEB&ftcr=FF0000&rk=1&bd=1&bdas=0">    </iframe>   </div>  

转载链接

0 0