網(wǎng)頁中嵌入谷歌 百度搜索引擎
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>
百度的嵌入就要麻煩一些,定義了不同的大小,都比較難看,有廣告,如果需要也可以嵌入,如下:
轉(zhuǎn)自: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>
|