求好心人帮我敲一下代码啦

 

比较简单的html呀,自己尝试着写一下吧,主要思路:一个html里面body里只需要三个DIV即可,第一个div就是头部,第二个中间部分,第三个底部,第二个div里面有三个小div通过css样式控制他们的位置以及大小即可,位置大小就是边看边调试出来的

如果对你有帮助记得采纳一下哦~,谢谢

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .header{
      width: 100%;
      height: 50px;
      background-color: skyblue;
      text-align: center;
    }

    .footer{
      width: 100%;
      height: 50px;
      background-color: springgreen;
    }
    .middle{
      width: 50%;
      margin-left: 25%;
      height: calc(100vh - 100px);
    }
    .left{
      float: left;
      width: 19%;
      height:100%;
      background-color: gray;
    }
    .mid{
      float: left;
      width: 61%;
      height: 100%;
      background-color: green;
      font-size: 14px;
      line-height: 18px;
      font-family:SimSun;
      color: red;
      border: 1px dashed blue;
      border-radius: 10px;
      box-shadow: 0 0 10px gray;
    }
    .right{
      float: left;
      width: 19%;
      height: 100%;
      background-color: greenyellow;
    }
    .mid:hover{
      background-color: yellow;
    }
  </style>
</head>
<body>

  <div class="header">学号+班级+姓名</div>
  <div class="middle">
         <div class="left">学号</div>
         <div class="mid">答案</div>
         <div class="right">姓名</div>
  </div>
  <div class="footer"></div>

</body>
</html>

 细节自己改吧