怎么在网站中加入百度搜索和站内搜索的代码区别

文章作者:seo优化大师 文章来源:港翔seo优化 浏览量:
怎么在网站中加入百度搜索和站内搜索的代码区别

本文导读:在网站建设过程,有很多页面的功能是需要我们使用网页特效代码的,怎么在网站中加入百度搜索和站内搜索的代码呢?下面就为大家介绍一下添加百度搜索站内搜索代码的方法。百度的搜索:

在网站建设过程,有很多页面的功能是需要我们使用网页特效代码的,怎么在网站中加入百度搜索和站内搜索的代码呢?下面就为大家介绍一下添加百度搜索站内搜索代码的方法。

百度的搜索:

</DIV><!--百度搜索--><div align=center><iframe id="baiduframe" 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>

站内搜索代码:

1、google搜索:

<!--Google站内搜索开始--><form method=get action="http://www.google.com/search"><input type=text name=q><input type=submit name=btnG value="Google 搜索"><input type=hidden name=ie value=GB2312><input type=hidden name=oe value=GB2312><input type=hidden name=hl value=zh-CN><input type=hidden name=domains value="/你的网站网址"><input type=hidden name=sitesearch value="/你的网站网址"></form><!--Google站内搜索结束-->

2、百度搜索:

<!--Baidu站内搜索开始--><form action="http://www.baidu.com/baidu"><input type=text name=word><input type="submit" value="Baidu 搜索"><input name=tn type=hidden value="bds"><input name=cl type=hidden value="3"><input name=ct type=hidden value="2097152"><input name=si type=hidden value="/你的网站网址"></form><!--Baidu站内搜索结束-->

3、雅虎搜索;

<!--Yahoo站内搜索开始--><form action="http://www.yahoo.com.cn/search"><input type=text name="p"><input type="submit" value="Yahoo 搜索"><input type=hidden name=vs value="/你的网站网址"></form><!--Yahoo站内搜索结束-->

版权保护: 本文由 seo优化大师 转载于网络,版权归原作者所有,如有侵权请联系 seo优化大师 删除
转载请保留链接:[怎么在网站中加入百度搜索和站内搜索的代码区别] http://www.qqsn.com.cn/seo/2047.html

读了怎么在网站中加入百度搜索和站内搜索的代码区别99%还在读