用python寫的第一個(gè)網(wǎng)頁(yè)~開心~

theresult_blan.png

代碼如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The blah</title>
<link rel="stylesheet" type="text/css" href="homework.css">
</head>
<body>
<div class="header">
<img src="images/blah.png">
<ul class="nav">
<li><a href="#">Home</a></li>
<li><a href="#">Site</a></li>
<li><a href="#">Other</a></li>
</ul>
</div>
<div class="main-content">

    <h2>The Beach</h2>
    <hr />
    <ul class="photos">
        <img src="images/0001.jpg" width="150" height="150">
        <img src="images/0003.jpg" width="150" height="150">
        <img src="images/0004.jpg" width="150" height="150">
    </ul>
    <p>The first snow came.

How beautiful it was, falling so silently, all day long, all night long, on the mountains, on the meadows, on the roofs of the living, on the graves1) of the dead!
All white save the river, that marked2) its course by a winding black line across the landscape3), and the leafless trees, that against the leaden4) sky now revealed more fully the wonderful beauty and intricacy5) of their branches!</p>
</div>
<div class="footer">
<p>?mugglecoding</p>
</div>
</body>
</html>

雖然好像圖片的間隔不太對(duì),但是做出來(lái)自己還是有點(diǎn)小成就感的,這周比較忙,拖到周五才做,不過真的很好玩就對(duì)啦~

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 11,090評(píng)論 0 23
  • 高中時(shí)候?qū)懽鞯拇来烙麆?dòng),到如今快20年的今天,重新拾起對(duì)寫作的想法,該不是沖動(dòng)了。 人生經(jīng)歷了學(xué)習(xí)時(shí)期,工作時(shí)期...
    內(nèi)心小世界閱讀 307評(píng)論 0 0
  • 嗜睡的我,卻必須每天聞雞起舞。黑燈瞎火的時(shí)候,把自己弄清醒,實(shí)在不是一件容易的事。想著昨天天氣預(yù)報(bào)說(shuō)要下雪,我趕緊...
    山西胡楊閱讀 518評(píng)論 1 6
  • 朝圣是一項(xiàng)具有重大的道德或靈性意義的旅程或探尋。通常,它是去一個(gè)人信仰的圣地或其它重要地點(diǎn)的旅程。 這是百度得...
    玉池吟閱讀 1,516評(píng)論 0 15
  • 家長(zhǎng)里短兩肩挑, 默默無(wú)聞笑弄濤。 頭頂驕陽(yáng)流血汗, 足行苦路付辛勞。 躬身孝順擔(dān)責(zé)任, 雋語(yǔ)嚴(yán)苛勵(lì)子?jì)伞?父愛如...
    山邊蘭閱讀 238評(píng)論 0 3

友情鏈接更多精彩內(nèi)容