请老师帮忙检查下代码
来源:2-18 自由编程
cloudonthesun
2021-05-12 14:50:52
<!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>career builder</title>
</head>
<body>
<!-- 网页头部 -->
<header>
<!-- logo区域 -->
<div class="logo">
<img src="images/logo.png" alt="">
</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>
<!-- 网页banner区域 -->
<section class="banner">
<!-- banner图片 -->
<div class="image">
<img src="images/banner3.jpg" alt="">
</div>
<!-- banner遮罩层 -->
<div class="shade">banner遮罩层</div>
<!-- banner表单 -->
<div class="form">
<form action="" method="POST">
<input type="text" placeholder="your Name">
<input type="text" placeholder="your Phone">
<input type="email" placeholder="your Email">
<textarea name="ta" cols="40" rows="7" placeholder="Write Your Comment Here"></textarea><br>
<button>SEND MESSAGE</button>
</form>
</div>
</section>
<!-- 网页about区域 -->
<section class="about">
<!-- 标题和简短描述区域 -->
<div class="about-top">
<h2>ABOUT</h2>
<div>分割线</div>
<!-- <hr> -->
<p>Lorem Ipsum is simply dummy text of the printing and typesetting<br> industry. Lorem Ipsum has been the industry's standard
dummy<br> text ever since the 1500s.</p>
</div>
<!-- 详细描述区 -->
<div class="about-content">
<!-- 左部分 (写出来class名使得结构更清晰)-->
<div class="about-left">
<p>
<strong>
A WORD
<br>
ABOUT US
</strong>
</p>
<div>
<p>
Praesent dignissim viverra est, sed bibendum ligula congue non. Sed ac nisl et felis gravida commodo? Suspendisse eget
ullamcorper ipsum. Suspendisse diam amet.
</p>
<div>EXPLORE</div>
</div>
</div>
<!-- 中部分 -->
<div class="about-mid">
<img src="images/bb3.jpg" alt="">
</div>
<!-- 右部分 -->
<div class="about-right">
<div class="about-right-1">
<p>70000</p>
<div>分割线</div>
<div>Students</div>
</div>
<div class="about-right-2">
<p>600</p>
<div>分割线</div>
<div>Faculty</div>
</div>
</div>
</div>
</section>
<!-- 网页图文混排区域 -->
<!-- 样式相同的div标签建议设置相同的类名,便于后期统一设置样式 -->
<section class="image_and_text">
<div class="image">
<img src="images/b1.jpg" alt="">
</div>
<div class="text">
<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>
<div>EXPLORE</div>
</div>
<div class="image">
<img src="images/b2.jpg" alt="">
</div>
<div class="text">
<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>
<div>EXPLORE</div>
</div>
<div class="text">
<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>
<div>EXPLORE</div>
</div>
<div class="image">
<img src="images/b3.jpg" alt="">
</div>
<div class="text">
<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>
<div>EXPLORE</div>
</div>
<div class="image">
<img src="images/b4.jpg" alt="">
</div>
</section>
<!-- gallery区域 (分为上下两个部分,分别用两个div盒子包裹)-->
<section class="gallery">
<!-- 标题和简短描述区域 -->
<div class="g-top">
<h2>GALLERY</h2>
<div>分割线</div>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting <br>industry. Lorem Ipsum has been the industry's standard
dummy<br>text ever since the 1500s.</p>
</div>
<!-- gallery详细信息区 -->
<div class="g-bot">
<!-- <a href=""> -->
<dl>
<dt>
<img src="images/03-01.jpg" alt="">
</dt>
<dd>Science Lab</dd>
</dl>
<!-- </a> -->
<!-- <a href=""> -->
<dl>
<dt>
<img src="images/03-02.jpg" alt="">
</dt>
<dd>Indoor Stadium</dd>
</dl>
<!-- </a> -->
<!-- <a href=""> -->
<dl>
<dt>
<img src="images/03-03.jpg" alt="">
</dt>
<dd>Transportation</dd>
</dl>
<!-- </a>
<a href=""> -->
<dl>
<dt>
<img src="images/03-04.jpg" alt="">
</dt>
<dd>Kids Room</dd>
</dl>
<!-- </a>
<a href=""> -->
<dl>
<dt>
<img src="images/03-05.jpg" alt="">
</dt>
<dd>Meditation Classes</dd>
</dl>
<!-- </a>
<a href=""> -->
<dl>
<dt>
<img src="images/03-06.jpg" alt="">
</dt>
<dd>Kids Play Ground</dd>
</dl>
<!-- </a>
-->
</div>
</section>
<!-- foot区域 -->
<footer>
<p>© 2016 imooc.com 京ICP备13046642号</p>
</footer>
</body>
</html>
1回答
同学你好,代码实现没问题,继续加油,祝学习愉快!
相似问题