美文网首页
用python写的第一个网页~开心~

用python写的第一个网页~开心~

作者: 子藤_杜 | 来源:发表于2016-11-25 21:02 被阅读0次
    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>

    虽然好像图片的间隔不太对,但是做出来自己还是有点小成就感的,这周比较忙,拖到周五才做,不过真的很好玩就对啦~

    相关文章

      网友评论

          本文标题:用python写的第一个网页~开心~

          本文链接:https://www.haomeiwen.com/subject/yjewpttx.html