<HTML><Head><MetaCharSet= "Utf-8"><title>Baidu a bit, you will know</title><Linkrel= "stylesheet"type= "Text/css"href= "Maiff.css"></Head><Bodyonkeydown= "Test (event.keycode)"> <Scripttype= "Text/javascript"> functionTest (VA) {//var Searchtext=document.getelementbyid ("Test"). Value; if(VA== -) {window.open ('https://www.baidu.com/s?ie=UTF-8&wd='+(document.getElementById ("Test") (value)); } }; </Script> <Divclass= "link"> <ahref= "http://news.baidu.com/"Target= "_blank">News</a> <ahref= "Http://v.baidu.com"Target= "_blank">Video</a> <ahref= "Http://map.baidu.com"Target= "_blank">Map</a> <ahref= "Http://tieba.baidu.com">Stick</a> <ahref= "Http://hao123.com">Hao123</a> <HR> </Div> <Divclass= "img"> <imgsrc= "Https://www.baidu.com/img/bd_logo1.png" > </Div>
. Link{float: Right;text-align: Right;width:1366px;Margin-bottom:10px;}. IMG{text-align:Center;Margin-bottom:10px;}. IMG img{width: the;Height:129;}. Form{text-align:Center;width:100%;}#test{width:50%;Height:35px}. Form Input{Height:35px;Margin-bottom:20px;}. Hidden{width:100%;Height:300px;}. Copyright{text-align:Center;}
<Divclass= "form"> <inputtype= "text"ID= "Test" /> <inputtype= "button"value= "Baidu a bit"onclick= "Test" /> </Div> <Divclass= "hidden"></Div> <Divclass= "Copyright"> <P>Copyright©To Wang Tao</P> </Div></Body></HTML>
Write your own simple Baidu, now familiar with CSS and then prepare to do the website, then learn Java then in the familiar framework