沧州市品搜网络技术有限公司欢迎您!     设为首页  |  加入收藏

品搜服务热线:0317-2103366

 
当前位置:HOME > > 网站建设
网页中嵌入谷歌 百度搜索引擎
发布时间 2011-08-07

网页中嵌入谷歌 百度搜索引擎

Google比较容易嵌入,而且没有广告,如下:(直接嵌到一个表格里了)

<table width="900" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="35%">
<div align="right">
<a style="text-decoration: underline; color: #000088; font-family: 宋体; font-size: 12px" href="
http://www.google.cn/webhp?client=aff-sowang&hl=zh-CN&channel=searchlink">
<img height="32" src="
http://www.google.com/logos/Logo_25wht.gif" width="75" border="0" align="right" alt="Google 中文">
</a>
</div>
</td>
<form name="googleform" target="_blank" action="
http://www.google.cn/search">
<td width="60%">
   <div align="right">
     <input style="FONT-SIZE: 13pt" size="35" name="q">
     <input type="hidden" value="aff-sowang" name="client">
     <input type="hidden" value="GB2312" name="ie">
     <input type="hidden" value="UTF8" name="oe">
     <input type="hidden" value="zh-CN" name="hl">
     <input type="hidden" value="searchbutton3" name="channel">
          <input style="FONT-SIZE: 11pt; COLOR: #000000" type="submit" value="Google 搜索">
      </div>
</td>
</form>
<td width="5%"> </td>
</tr>
</table>

百度的嵌入就要麻烦一些,定义了不同的大小,都比较难看,有广告,如果需要也可以嵌入,如下:

转自:http://hi.baidu.com/winform/blog/item/6f7bcedccb88c2e876c63894.html

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


百度搜索引擎代码 200*30
<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=chenyingkm2z&csid=102&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=1&bd=0&bdas=0">
</iframe>

百度搜索引擎代码 670*40
<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=chenyingkm2z&csid=103&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=1&bd=0&bdas=0">
</iframe>

百度搜索引擎代码 410*80
<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=chenyingkm2z&csid=104&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=1&bd=0&bdas=0">
</iframe>

百度搜索引擎代码 140*75
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="140" height="75"
src="
http://unstat.baidu.com/bdun.bsc?tn=chenyingkm2z&csid=105&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=1&bd=0&bdas=0">
</iframe>

百度搜索引擎代码 468*60
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="468" height="60"
src="
http://unstat.baidu.com/bdun.bsc?tn=chenyingkm2z&csid=106&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=1&bd=0&bdas=0">
</iframe>


 

[ 点击数:] [打印本网页] [关闭本窗口]
相关内容
  • 网页中嵌入谷歌 百度搜索引擎 2011-08-07
  •      

    版权所有?2015  沧州市品搜网络技术有限公司  邮编:061001
    “沧州市消费者协会”为本公司常年监督单位  “河北傲宇律师事务”所为本公司常年法律顾问单位

    地址:沧州市运河区泰大广场红星美凯龙北侧2号楼 1327-1328 建站专线:0317-2103366、2103388  13803178566 全国服务电话:400-883-8869
    品牌建站网
    www.ps698.com  E-Mail:czppw@163.com QQ:571652609 1971135053 741731791
     许可证编号:
    冀ICP备11009334号  公安机关备案号:13090002015634
    沧州网络公司,沧州网站建设,沧州网站设计,沧州网站制作,沧州做网站,沧州建网站,沧州网站推广,沧州网络推广

     
    qq客服在线客服