Css+html Simulation Baidu homepage (attached code)

Source: Internet
Author: User

This article brings you the content is about css+html to achieve simulation Baidu Home (with code), there is a certain reference value, the need for friends can refer to, I hope you have some help.

The code is as follows:

<!    DOCTYPE html><html lang= "en" ><head> <meta charset= "UTF-8" > <title>Title</title>                           <style> #biaoqian {float:right;                       margin:10px;                    } #d2, #d3, #d4, #d5, #d6, #d7, #d8, #d9 {margin:5px;                 } #title {padding-left:200px;                      }. inputw{height:32px;                  line-height:30px;                      } #pic {margin-top:180px;                  padding-left:380px;                     } #and {margin:30px;                 margin-top:30px;                    } #a1 {padding-left:340px;                 margin-top:40px;                     } #erweima {margin-top:200px;                 padding-left:500px; } </style> </head> <body> <div id= "Biaoqian" > <a href= "2.mp4" id= "D2" > News </a> <a href= "2.mp4" id= "D3" >ha o123</a> <a href= "2.mp4" id= "D4" > Maps </a> <a href= "2.mp4" id= "D5" > Video </a> <a href= "     2.mp4 "id=" d6 "> Paste </a> <a href=" 2.mp4 "id=" D7 "> Academic </a> <a href=" 2.mp4 "id=" D8 "> Login </a> <a href= "2.mp4" id= "D9" > Settings </a> </div> <div id= "and" > <img src= "timg_ see king. jpg" Id= "p IC "width=" height= "108" > <form> <div id= "title" > <input class= "inputw" name= "AA" type= "text "Size=" > <input class= "inputw" type= "button" name= "AA" onclick= "Helloword" value= "Baidu a bit" ><br> &lt ;/div> </form> </div> <div id= "Erweima" > <img src= "Baidu qr code. png" > </div> & Lt;div id= "A1" > <a href= "2.mp4" > Baidu homepage </a> <a href= "2.mp4" > About Baidu </a> <a href= "2.mp4 ">about BAIDU&LT;/A&GT <a href= "2.mp4" > Baidu promotion </a> </div> </body> </html>

Run Result:

Related Article

Beyond APAC's No.1 Cloud

19.6% IaaS Market Share in Asia Pacific - Gartner IT Service report, 2018

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.