前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【前端笔试系列】:0x02

【前端笔试系列】:0x02

作者头像
WEBJ2EE
发布2019-12-31 14:40:16
3900
发布2019-12-31 14:40:16
举报
文章被收录于专栏:WebJ2EE

HTML5 不仅仅是 HTML 规范的最新技术,它还是一系列用来制作现代富 Web 内容的相关技术的总称。其中最重要的三项技术是 HTML5 核心规范、CSS 和 JavaScript。 《HTML5 权威指南》

!!!以下内容全部摘录自《牛客网》!!!

1. HTML?

1.1. 基础篇

题目01:

题目02:

题目03:

题目04:

题目05:

题目06:

题目07:

题目08:

题目09:

题目10:

题目11:

题目12:

题目13:

题目14:

题目15:

题目16:

题目17:

题目18:

1.2. 中级篇

题目01:

题目02:

题目03:

题目04:

题目05:

题目06:

题目07:

题目08:

1.3. 高级篇

题目01:

题目02:

一种解,仅供参考:

代码语言:javascript
复制
<!DOCTYPE html>
<html>
<head>
  <title></title>
  <style type="text/css">
    body{
      background-color: #000;
    }

    .box{
      width: 150px;
      height: 150px;
      padding: 10px;

      display: flex;
      flex-direction: row;
      justify-content: space-between;

      border-radius: 10px;

      background-color: #fff;
    }

    .box > .column{
      height: 100%;

      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .box > .column > .item{
      width: 50px;
      height: 50px;
      border-radius: 50px;

      background-color: #000;
    }
</style>
</head>
<body>
  <div class="box">
    <div class="column">
      <span class="item"></span>
      <span class="item"></span>
    </div>
    <div class="column">
      <span class="item"></span>
      <span class="item"></span>
    </div>
  </div>
</body>
</html>

题目03:

一种解,仅供参考:

代码语言:javascript
复制
<!DOCTYPE html>
<html>
<head>
  <title></title>
  <style type="text/css">
    body{
      color: #fff;
      text-align: center;
    }

    header, footer{
      height: 50px;
      background-color: #7ecef3;
    }

    .center{
      display: flex;
      flex-direction: row;
    }

    .center > .leftbar,
    .center > .rightbar{
      width: 200px;
      background-color: #89c997;
    }

    .center > .content{
      flex:1;
      background-color: #53b9be;
      height: 200px;
    }
</style>
</head>
<body>
  <header>Header</header>
  <div class="center">
    <div class="leftbar">Left Bar</div>
    <div class="content">Content</div>
    <div class="rightbar">Right Bar</div>
  </div>
  <footer>Footer</footer>
</body>
</html>

题目04:

题目05:

参考:

《前端程序员——面试笔试宝典》 《HTML5 权威指南》 W3C 官网: https://www.w3.org/ 《牛客网》—— html 相关题库 https://www.nowcoder.com/search?type=question&query=html

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2019-12-22,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 WebJ2EE 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档