检查代码!

来源:2-18 自由编程

求田问舍刘郎才气

2021-01-28 21:06:33

相关代码:

​<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>凯业必达招聘网</title>
<meta name="Keywords" content="职业发布、广告产品、视频产品、调研报告">
<meta name="Description" content="北美最大的招聘网站运营商,全球流量最大的30家网站之一">
</head>

<body>
<!-- hander部分 -->
<div class="hander">
<!-- logo -->
<div class="logo">
<a href="">
<img src="images/logo.png" alt="">
</a>
</div>
<!-- nav -->
<nav>
<ul>
<li>HOME</li>
<li>ABOUT</li>
<li>GALLERY</li>
<li>FACULTY</li>
<li>EVENTS</li>
<li>CONTACT</li>
</ul>
</nav>

</div>
<!-- banner -->
<div class="banner">
<!-- banner图片 -->
<div class="banner-pic">
<img src="images/banner3.jpg" alt="">
</div>
<!-- banner遮罩层 -->
<div class="banner-mask-layer">banner遮罩层</div>
<!-- banner表单 -->
<div class="banner-list">
<form>
<input type="text" placeholder="your name">
<input type="text" placeholder="your Phone">
<input type="email" placeholder="your Email">
<textarea cols="30" rows="10"></textarea>
<input type="submit" value="SEND MESSAGE">
</form>
</div>
</div>
<!-- about -->
<section>
<h2>ABOUT</h2>
<P>分割线</P>
<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>
</section>
<section>
<h4>A WORD <br>ABOUT US</h4>
<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>
</section>
<div>EXPLORE</div>
<div>
<img src="images/bb3.jpg">
</div>
<div>700000</div>
<div>分割线</div>
<div>Students</div>
<div>600</div>
<div>分割线</div>
<div>Faculty</div>
<!-- 图文混排区 -->
<section class="picText">
<div class="imgbox">
<img src="images/b1.jpg">
</div>
<h3>Library</h3>
<div class="wordboxi">
<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>
<p>EXPLORE</p>
<div class="imgbox">
<img src="images/b2.jpg">
</div>
<h3>Library</h3>
<p>EXPLORE</p>
<div class="wordboxi">
<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>
<h3>Library</h3>
<p>EXPLORE</p>
<div class="wordboxi">
<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>
<div class="imgbox">
<img src="images/b3.jpg">
</div>
<h3>Library</h3>
<div class="wordboxi">
<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>
<p>EXPLORE</p>
<div class="imgbox">
<img src="images/b4.jpg">
</div>
<h3>Library</h3>
<div class="wordboxi">
<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>
<p>EXPLORE</p>
</section>
<section>
<h3>GALLERY</h3>
<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>
</section>

<!-- gallery区域 -->
<div class="gallery">
<!-- gallery上半区域 -->
<div class="gallery-top-part">
<dl>
<dt>
<img src="images/03-01.jpg">
</dt>
<dd>Science Lab</dd>
</dl>
<dl>
<dt>
<img src="images/03-02.jpg">
</dt>
<dd>Indoor Stadium</dd>
</dl>
<dl>
<dt>
<img src="images/03-03.jpg" alt="">
</dt>
<dd>Transportation</dd>
</dl>
</div>

<!-- gallery下半区域 -->
<div class="gallery-buttom-part">
<dl>
<dt>
<img src="images/03-04.jpg">
</dt>
<dd>Kids Room</dd>
</dl>
<dl>
<dt>
<img src="images/03-05.jpg">
</dt>
<dd>Meditation Classes</dd>
</dl>
<dl>
<dt>
<img src="images/03-06.jpg">
</dt>
<dd>Kids Play Ground</dd>
</dl>
</div>
<!-- footer区域 -->
</div>

<div class="footer">
<p>&copy; 2016 imooc.com 京ICP备13046642号</p>
</div>

</body>

</html>


写回答

1回答

好帮手慕张

2021-01-29

同学你好,代码中的问题如下:

1、多行文本输入框里面没有提示信息,

2、SEND MESSAGE按钮应该换行显示;

http://img.mukewang.com/climg/6013899909e9839710210298.jpg

修改为:给多行输入框加上placeholder属性值,并且加上一个br使SEND MESSAGE按钮换行显示,如下图:

http://img.mukewang.com/climg/601389b10929e50209390273.jpg

祝学习愉快!

0

0 学习 · 15276 问题

查看课程

相似问题