首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

百度代码搜寻,谷歌搜索

2012-10-30 
百度代码搜索,谷歌搜索!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEADTI

百度代码搜索,谷歌搜索
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>百度代码搜索,谷歌搜索</TITLE>

<META content=text/html;charset=gb2312 http-equiv=Content-Type>

<STYLE>

body {background-color: #f5f6f7;}

#kw{font:16px Lucida Sans Unicode;height:1.8em;padding-top:1px}

#baidu{font:16px Lucida Sans Unicode;height:1.8em;width:8em}

#google{font:16px Lucida Sans Unicode;height:1.8em;width:4em}

form{

position:relative;

z-index:9;

}

.text {

width: 10cm;

}

#baidu.com {

width: 100%;

margin: 0px;

}

#baidus{

height: auto;

width: 100%;

margin-top: 50px;

margin-right: 150px;

margin-bottom: 180px;

margin-left: 150px;

}

#baidu5 {

width: 270px;

margin-top: 80px;

margin-right: 300px;

margin-bottom: 2px;

margin-left: 300px;

background-position: center;

clear: both;

}

.STYLE3 {font-size: 24px}

</STYLE>

</HEAD>

<BODY>

<div id="baidu.com">

<div id="baidu5" align="center"><a href="index.asp"><img src="baidu_logo.gif" alt="百度代码搜寻,谷歌搜索" border="0"></a></div>



<div id="baidus">

      <FORM action=http://www.baidu.com/baidu?tn=ichuner_4_pg&amp;ie=utf-8&amp;word= name=f id="searchForm" target="_blank">

      <INPUT id=kw maxLength=100 size=20 name=wd>

      <INPUT id=baidu value=百度一下 type=submit>

      <INPUT id=google value=Google type=button name=button2 search="http://www.google.cn/search?hl=zh-CN&q=">

    </FORM>

</div>

<div style="text-align:center">

声名:本网页不含有任何商业目的,纯为个人爱好所做<br/>

<span class="STYLE3">&copy;baidu.com 2009 </span></div>

</div>

<SCRIPT type=text/javascript>

document.getElementById("button2").onclick = function(){

var q = document.getElementById("kw").value;

window.open(this.getAttribute("search").toString() + q);

}

</SCRIPT>

<SCRIPT>var w=document.searchForm.wd;function s(o){if(w.value.length>0){var h=o.href;var q=encodeURIComponent(w.value);if(h.indexOf("q=")!=-1){o.href=h.replace(new RegExp("q=[^&$]*"),"q="+q)}else{o.href+="?q="+q}}};(function(){if(new RegExp("q=([^&]+)").test(location.search)){w.value=decodeURIComponent(RegExp.$1)}})();if(navigator.cookieEnabled && !/sug?=0/.test(document.cookie)){document.write('<script src=http://www.baidu.com/js/bdsug.js?v=1.1.0.3><\/script>')};window.onunload=function(){};</SCRIPT><SCRIPT>w.focus()</SCRIPT>

<!--747f12c0acab797d--></BODY></HTML>

热点排行