网络技术代码lab3作业

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    .bgimg {
        background: url("图片地址");
        width: 300px;
        height: 300px;
        background-position: 40%;
    }

    #title {
        padding-top: 125px;
        color: #e3d1b8;
        font-size: 40px;
    }
</style>
<body>
    <p style="color: red;font-size: 24px;">
        the Best Games of 2024
    </p>
    <p >
        <ol style="color: skyblue;">
            <li>World of warcraft</li>
            <li>prince of persia:the lost crown</li>
            <li>persona 3:reload</li>
            <li>lorelei and the laser eyes</li>
            <li>dragon's dogma 2</li>
            <li>animal well</li>
        </ol>
    </p>

    <div style="  font-family: Roboto;
    color: #000;
  ">
        <h2 style="text-align: center; color:  #2196f3; font-size: 26px; text-transform: uppercase;">Sherlock Holmes Quotes</h2>
    <p style="font-size: 20px; color: #585858;">“If you want to hide a tree, hide it in the woods.”</p>
    <p style="font-size: 20px; color: #585858;">“Fans of silly hats are more likely to have difficult relationships with people.</p>
    </div>
    <br>
    <hr>

    <div class="bgimg">
        
    </div>
    <br>
    <hr>
    <div class="container" style="background: url('图片地址'); width: 300px; height: 300px; background-position: 40%  10%;">
        <h2 id="title"> COFFEE </h2>
        <p style="padding-top: 80px; color: #110301; font-size: 14px; text-align: center;">Coffee is an amazing beverage that warms the world.</p>
    
</body>
</html>
© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容