如何添加百度(baidu)搜索代码
发布:hill | 发布时间: 2008年9月19日百度(baidu)和谷歌(google)搜索代码有利于搜索引擎的收录,那如何添加百度和google的搜索代码呢?
百度搜索代码如下:
<form action="http://www.baidu.com/baidu" target="_blank">
<table bgcolor="#FFFFFF"><tr><td>
<input name=tn type=hidden value=baidu>
<a href="http://www.baidu.com/">
<img src="http://img.baidu.com/img/logo-80px.gif" alt="Baidu" align="bottom" border="0"></a>
<input type=text name=word size=30>
<input type="submit" value="百度搜索">
</td></tr></table>
</form>
二、百度搜索代码效果
三、百度搜索代码效果
![]() | 互联网 www.guoxue.com |
<SCRIPT language=javascript>
function g(formname) {
var url = "http://www.baidu.com/baidu";
if (formname.s[1].checked) {
formname.ct.value = "2097152";
}
else {
formname.ct.value = "0";
}
formname.action = url;
return true;
}
</SCRIPT>
<form name="f1" onsubmit="return g(this)">
<table bgcolor="#FFFFFF" style="font-size:9pt;">
<tr height="60"><td valign="top">
<img src="http://img.baidu.com/img/logo-137px.gif" border="0" alt="baidu"></td>
<td>
<input name=word size="30" maxlength="100">
<input type="submit" value="百度搜索"><br>
<input name=tn type=hidden value="bds">
<input name=cl type=hidden value="3">
<input name=ct type=hidden>
<input name=si type=hidden value="www.hz-seo.com">
<input name=s type=radio> 互联网
<input name=s type=radio checked> www.hz-seo.com
</td></tr></table>
</form>
以上百度搜索代码,根据自己的需求,选择相应的代码。
下一篇:谷歌(google)搜索代码
- 相关文章:
发表评论
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。






