老师帮忙检查一下
来源:3-8 自由编程
莫比乌斯环6722825
2020-12-12 20:55:07
# 具体遇到的问题
# 报错信息的截图
# 相关课程内容截图
# 尝试过的解决思路和结果
# 粘贴全部相关代码,切记添加代码注释(请勿截图)
在这里输入代码,可通过选择【代码语言】突出显示
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Career Builder</title>
<meta name="Keywords" content="关键词">
<meta name="Description" content="简介">
</head>
<body>
<!-- 网页的头部 -->
<header>
<!-- logo -->
<div class="logo">
<img src="images/logo.png">
</div>
<!-- 导航条 -->
<nav class="main-nav">
<ul>
<li>HOME</li>
<li>ABOUT</li>
<li>GALLERY</li>
<li>FACULTY</li>
<li>EVENTS</li>
<li>CONTACT</li>
</ul>
</nav>
</header>
<!-- 网页的横幅 -->
<section class="banner">
<!-- 图片 -->
<div class="banner-images">
<img src="images/banner3.jpg">
</div>
<!-- 遮罩层 -->
<div class="mask layer">
<p>banner遮罩层</p>
</div>
<!-- 表单 -->
<div class="form">
<P>banner表单</P>
</div>
</section>
<!-- 网页的内容 -->
<section class="about">
<!-- 简介 -->
<div class="about-title">
<h2>ABOUT</h2>
<div>分割线</div>
<p>lorem ipsum is simply dummy text of the printing and typesetting industry.
lorem ipsum has been the industry's standard dummy text ever since the 1500s.</p>
</div>
<!-- 详情 -->
<div class="about-content">
<div>
<h3>A WODR ABOUT US</h3>
<p>Praesent dignissim viverra est.sed bibendum ligula congue non.
Sed ac nisl et felis gravida commodo?Suspendisse ullancorper ipsum.Suspendisse diam amet.
</p>
<div>EXPLORE</div>
</div>
<div>
<img src="images/bb3.jpg">
<p>70000</p>
<p>分割线</p>
</div>
<div>
<p>Students</p>
<P>600</P>
<p>分割线</p>
<p>faculty</p>
</div>
</div>
<!-- 图文混排 -->
<div class="image-txet">
<div class="image1">
<img src="images/b1.jpg">
</div>
<div class="txet2">
<h3>Library</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry
</p>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book</p>
<p>EXPLORE</p>
</div>
<div class="image3">
<img src="images/b2.jpg">
</div>
<div class="txet4">
<h3>Library</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry></p>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<p>EXPLORE</p>
</div>
<div class="txet5">
<h3>Library</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry></p>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<p>EXPLORE</p>
</div>
<div class="image6">
<img src="images/b3.jpg">
</div>
<div class="txet7">
<h3>Library</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry></p>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<p>EXPLORE</p>
</div>
<div class="image8">
<img src="images/b4.jpg">
</div>
</div>
<!-- GALLERY区域 -->
<div class="gallery-title">
<div>分割线</div>
<p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
</div>
<div class="gallery-content">
<dl>
<dt>
<img src="images/03-01.jpg">
</dt>
<dd>
<p>science lab</p>
</dd>
</dl>
<dl>
<dt>
<img src="images/03-02.jpg">
</dt>
<dd>
<p>indoor stadium</p>
</dd>
</dl>
<dl>
<dt>
<img src="images/03-03.jpg">
</dt>
<dd>
<p>transportation</p>
</dd>
</dl>
<dl>
<dt>
<img src="images/03-04.jpg">
</dt>
<dd>
<p>kids room</p>
</dd>
</dl>
<dl>
<dt>
<img src="images/03-05.jpg">
</dt>
<dd>
<p>meditation classes</p>
</dd>
</dl>
<dl>
<dt>
<img src="images/03-06.jpg">
</dt>
<dd>
<p>kids play groung</p>
</dd>
</dl>
</div>
</section>
<!-- 网页的页脚 -->
<footer>
<div class="footer">
<p>© 2016 imooc.com 京ico备13046642号</p>
</div>
</footer>
</body>
</html>
1回答
同学你好,整体实现的不错,有一个规范的小问题如下:
转义字符结尾处没有加分号
参考如下加上分号才规范,如下:
祝学习愉快~
相似问题