现在的位置: 首页 > 综合 > 正文

在自己网站嵌入各大搜索引擎代码

2012年10月30日 ⁄ 综合 ⁄ 共 5044字 ⁄ 字号 评论关闭

大家有没有想过把那些大型的搜索引擎给放在自己的网页里呢!

现在我给你大家提供一些免费的代码

1、百度搜索

     (1)在网页里插入以下代码即可

<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="468" height="40"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=107&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>

     (2)在网页里插入以下代码即可

<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="670" height="40"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=103&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>

     (3)在网页里插入以下代码即可

<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="410" height="80"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=104&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>

 

2、网易搜索

在网页里插入以下代码即可

<iframe border=0 align=center vspace=0 hspace=0 name=searchbar marginwidth=0 marginheight=0 framespacing=0 frameborder=0 scrolling=no width=500 height=36 src="http://template.union.163.com/v2/search_tpl2.jsp?ID=suny126&NO=13375&sessionID=1500ny7240125fffun19ffff&logo=1

&select=1&SearchHeight=36&SearchWidth=500&boxColor=ffffff&txtColor=ffffff&Key=%u6E38%u620F:%u8F6F%u4EF6:%u516C%u53F8:%u97F3%u4E50:%u514D%u8D39:%u624B%u673A%u94C3%u58F0:%u514D%u8D39mp3:%u624B%u673A"></iframe>

 

3、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 -->

 

4、让Google给自己的网站做一个站内搜索

在网页里插入以下代码即可

<!-- 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 -->
<!-- Search Google -->

 

5、搜狐搜索

在网页里插入以下代码即可

<form action=http://search.sohu.com/cgi-bin/search.cgi method=get target="_blank"> <input name=T1 size=10 class="itm"> <select name=opt size=1 class="itm"> <option value=main selected>网站</option> <option value=spider>网页</option> <option value=class>类目</option> <option value=news>新闻</option> <option value=sports>体育</option> <option value=3721>网址</option> <option value=hard>硬件</option> <option value=soft>软件</option> </select> <input name=B1 type=submit value=搜索 class="itm"> <span class="brief"><a href="http://l_bin365.myetang.com/search.htm" target="_blank">乐趣无限</a></span> </form>

 

6、3721搜索

在网页里插入以下代码即可

<table cellspacing=0 cellpadding=0 width="95%" border=0 bgcolor="#FFDEEB" id="table1">
<tbody> <tr>
<td class="box3" bgcolor=#FFDEEB><br>
<table cellspacing=2 cellpadding=2 align=center border=0 id="table2">
<tbody>
<form name=search3721
action=http://seek.3721.com/right.htm method=get>
<input type=hidden
value=new3721 name=argse style="font-size: 12px">
<tr>
<td style="font-size: 12px">
<input style="PADDING-LEFT: 3px; PADDING-TOP: 3px; HEIGHT: 23px; font-size:12px"
size=36 name=name>
</td>
<td width=84 style="font-size: 12px" bgcolor="#FFDEEB">
<input type=hidden value=8 name=ft3721 style="font-size: 12px">
<input class="input01" type=submit value=搜 索 name="submit2">
</td>
<td style="font-size: 12px"><a href="http://www.3721.com/use/fangfa.htm"
target=_blank>最简单的搜索方式&lt;/a></td>
<td width=11 style="font-size: 12px"> <img height=11 src="net_arrw.gif"
width=11></td>
</tr>
<tr>
<td colspan=4 style="font-size: 12px">  </td>
</tr>
</form>
</tbody>
</table>
</td>

 

7、新浪搜索

在网页里插入以下代码即可

<!-- 搜索框开始 -->

<form action=http://search.sina.com.cn/cgi-bin/search/search.cgi method=get target="_blank">
<input type=text name="_searchkey" value="" maxlength=80 size=16> <select name=_ss size=1>
<option selected value=sina checked>综合
<option value=href>网站
<option value=avcn>中文网页
<option value=newstitle>新闻标题
<option value=stock>沪深行情
<option value=down>软件
<option value=game>游戏</select>
<INPUT TYPE=submit name=enter VALUE="搜索"> <a href="http://l_bin365.myetang.com/search.htm" target="_blank">搜索帮助</a>
</form>
<!-- 搜索框结束 -->

 

8、搜星搜索

在网页里插入以下代码即可

<center>
<form method=get action= "http://www.soseen.com/china.asp" target="_blank">
<table> <tr><td>
<a href="http://l_bin365.myetang.com/search.htm" target="_blank"><img alt=申请搜索代码 align=absMiddle src="http://www.soseen.com/sm_soseen.gif" border=0 width="81" height="31"></a>
<input name=sch_value size=15 maxlength=255>
<input type=submit name=btnG VALUE="集成搜索">
</td></tr></table></form>
</center>

抱歉!评论已关闭.