WEB前端开发简易网页制作

效果

代码如下:

    网页代码
    框架代码模板
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
    header{
          
   
        color: red;
        text-align: left;
        font-size: 40px;
        height: 60px;
        margin: 10px;
        line-height: 60px;
        overflow: hidden;
    }
    nav{
          
   
        min-height: 380px;
        display: block;
        float: top;
        margin: 10px;
    }
    p{
          
   
        color: white;
        font-size: 100px;
        text-align: center;
    }
    a{
          
   
        text-decoration: none;
    }
    a:link{
          
   
        color: white;
    }
    a:visited{
          
   
        color: darkred;
    }
    a:hover{
          
   
        color: coral;
    }
    </style>
</head>
<body>
<header>
    <a href="1.html">资料1 |</a>
    <a href="2.html">资料2 |</a>
    <a href="3.html">资料3 |</a>
    <a href="4.html">资料4 |</a>
    <a href="5.html">资料5 |</a>
    <a href="6.html">资料6 |</a>
    <a href="7.html">资料7 |</a>
    <a href="8.html">资料8 </a>
</header>
<hr style="width: 100%"/>
<article>
    <nav>
        <p>资料内容</p>
    </nav>
</article>
<footer>
    这是尾部
</footer>
</body>
</html>
经验分享 程序员 微信小程序 职场和发展