请用html5标准完成以下页面布局(要求完整书写整个页面的html代码,不需要写CSS)

(1)、请用html5标准完成以下页面布局(要求完整书写整个页面的html代码,不需要写CSS)
写得有点罗嗦,里面很多css可以归纳出来一个的,另外,这个页面也具有响应式web设计的味道,浏览器缩小,相应版块也会适当缩小

在这里插入图片描述

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta charset="utf8">
   <style>
 
    body{margin:0;padding:0;}
 
     header{
      border:solid 1px #CCC;
      border-radius:5px 5px 5px 5px;
      text-align:center;
 
     }
     .h20{height:60px;}
     .h40{height:40px;}
     .h500{height:500px;}
     nav{
      border:solid 1px #CCC;
      border-radius: 5px 5px 5px 5px;
      margin:30px 0;
      text-align: center;
     }
     article{
      border:solid 1px #CCC;
      border-radius:5px 5px 5px 5px;
      margin:20px 25%;
      position:absolute; 
      width:74%;
      text-align: center;
 
     }
     aside{
      border:solid 1px #ccc;
      border-radius:5px 5px 5px 5px;
      margin:20px 0 0 10px;
      width:20%;
      text-align: center;
      float:left;
     }
     footer{
      border:solid 1px #CCC;
      border-radius:5px 5px 5px 5px;
      margin:20px 0;
      margin-top:540px; 
      text-align: center;
     
     }
    .hauto{
      border:none 1px #CCC;
      border-radius:5px 5px 5px 5px;
      margin:auto 0;
      width:100%;
      text-align: center;
 
    }
   </style>
 
  </head>
 
  <header class="h20">页头</header>
  <nav class="h40">导航 </nav>
  <body>
  <article class="hauto">
 
    <aside class="h500"> 侧边栏</aside>
    
    <article class="h500"> 内容区 </article>
  
    <footer class="h40">页尾</footer>
  </article>
 
  </body>
 
</html>
  • 4
    点赞
  • 27
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值