Write your own simple Baidu, now familiar with CSS and then prepare to do the website, then learn Java then in the familiar framework

Source: Internet
Author: User

<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&copy;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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.