這篇文章主要為大家展示了HTML仿寫百度首頁的示例代碼,內(nèi)容簡(jiǎn)而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶大家一起來研究并學(xué)習(xí)一下“HTML仿寫百度首頁的示例代碼”這篇文章吧。

南澗網(wǎng)站制作公司哪家好,找創(chuàng)新互聯(lián)!從網(wǎng)頁設(shè)計(jì)、網(wǎng)站建設(shè)、微信開發(fā)、APP開發(fā)、響應(yīng)式網(wǎng)站建設(shè)等網(wǎng)站項(xiàng)目制作,到程序開發(fā),運(yùn)營維護(hù)。創(chuàng)新互聯(lián)從2013年創(chuàng)立到現(xiàn)在10年的時(shí)間,我們擁有了豐富的建站經(jīng)驗(yàn)和運(yùn)維經(jīng)驗(yàn),來保證我們的工作的順利進(jìn)行。專注于網(wǎng)站建設(shè)就選創(chuàng)新互聯(lián)。
html的全稱為超文本標(biāo)記語言,它是一種標(biāo)記語言,包含了一系列標(biāo)簽.通過這些標(biāo)簽可以將網(wǎng)絡(luò)上的文檔格式統(tǒng)一,使分散的Internet資源連接為一個(gè)邏輯整體,html文本是由html命令組成的描述性文本,html命令可以說明文字,圖形、動(dòng)畫、聲音、表格、鏈接等,主要和css+js配合使用并構(gòu)建優(yōu)雅的前端網(wǎng)頁。
HTML仿寫百度首頁的示例代碼
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
a {
color: black;
}
#header {
text-align: right;
height: 38px;
line-height: 38px;
}
#content {
text-align: center;
}
.content-top img {
width: 270px;
}
.btn {
width: 700px;
height: 38px;
margin: 10px auto 30px;
}
.btn input {
width: 550px;
height: 38px;
border: 1px solid #dddddd;
font-size: 15px;
}
.btn a {
background-color: #3385ff;
width: 100px;
height: 38px;
float: right;
text-align: center;
line-height: 38px;
color: white;
text-decoration: none;
}
#footer {
margin-top: 100px;
}
.erwei,
.footer-t,
.footer-btn {
text-align: center;
}
.erwei p {
font-weight: bold;
}
</style>
</head>
<body>
<div id="header">
<a href="###" target="_blank">新聞</a>
<a href="###" target="_blank">hao123</a>
<a href="###" target="_blank">地圖</a>
<a href="###" target="_blank">視頻</a>
<a href="###" target="_blank">貼吧</a>
<a href="#" class="no-weight">登錄</a>
<a href="#" class="no-weight">設(shè)置</a>
</div>
<div id="content">
<div class="top">
<!--src:資源的縮寫;alt:如果網(wǎng)速圖片顯示不出來,就顯示文字-->
<img src="/upload/otherpic75/8774.jpg">
</div>
<div class="btn">
<!--type:定義單行輸入的文字;href:鏈接URL-->
<input type="text">
<a href="###">百度一下</a>
</div>
</div>
<div id="footer">
<div class="erwei">
<img src="/upload/otherpic75/8775.jpg" />
<p>百度</p>
</div>
<div class="footer-t">
<a href="###" target="_blank">把百度設(shè)為主頁</a>
<a href="###" target="_blank">關(guān)于百度</a>
<a href="###" target="_blank">About Baidu</a>
<a href="###" target="_blank">百度推廣</a>
</div>
<div class="footer-btn">
?2018 Baidu
<a href="###">使用百度前必讀</a>
<a href="###">意見反饋</a> 京ICP證030173號(hào)
<img src="img/1.PNG">
<a href="###">京公網(wǎng)安備11000002000001號(hào)<img src="img/2.PNG" /></a>
</div>
</div>
</body>
</html>以上就是關(guān)于“HTML仿寫百度首頁的示例代碼”的內(nèi)容,如果改文章對(duì)你有所幫助并覺得寫得不錯(cuò),勞請(qǐng)分享給你的好友一起學(xué)習(xí)新知識(shí),若想了解更多相關(guān)知識(shí)內(nèi)容,請(qǐng)多多關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道。
網(wǎng)站欄目:HTML仿寫百度首頁的示例代碼
當(dāng)前網(wǎng)址:http://chinadenli.net/article24/ppdsce.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站維護(hù)、網(wǎng)站導(dǎo)航、網(wǎng)站改版、虛擬主機(jī)、網(wǎng)站建設(shè)、關(guān)鍵詞優(yōu)化
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)