老师请检查,谢谢!
来源:2-5 编程练习
慕粉1955289208
2019-06-24 12:35:52
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>IMOOC</title>
<style type="text/css">
*{
font-family: "微软雅黑";
font-size: 13px;
margin: 0;
padding: 0;
border: none;
}
section,aside,article{display: block;}
section {
width: 1274px;
overflow: hidden;
margin: 0 auto;
}
aside {
width: 528px;
float: left;
}
aside>h1 {
font-size: 22px;
font-weight: bold;
margin: 24px 30px;
}
samp {
font-size: 22px;
color: #7c7c7c;
}
dl {
margin: 0;
padding: 0;
position: relative;
}
dt {
position: absolute;
left: 93px;
top: -1px;
font-size: 15px;
font-weight: bold;
text-decoration: underline;
line-height: 15px;
margin: 4px 0;
}
aside dl dd img {
position: absolute;
left: 32px;
top: 0;
}
aside dl dd span {
position: absolute;
left: 50px;
top: 4px;
font-size: 22px;
color: #fff;
line-height: 44px;
display: block;
}
aside dl dd:last-of-type {
line-height: 22px;
margin: 27px 0 20px 92px;
padding: 23px 0 0 0;
}
article {
width: 697px;
float: right;
margin: 0 18px 0 0;
}
article>h1 {
font-size: 22px;
font-weight: bold;
margin: 24px 0px;
}
article>img {
overflow: hidden;
width: 697px;
height: 200px;
}
article p {
line-height: 22px;
margin: 13px 0;
}
</style>
</head>
<body>
<!-- 在此完成网页的HTML代码-->
<section>
<aside>
<h1>Recent <samp>Course</samp></h1>
<dl>
<dt>Hyper Text Markup Language</dt>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"/><span>1</span></dd>
<dd>HTML is the standard markup language used to create web pages and its elements form the building blocks of all websites.</dd>
</dl>
<dl>
<dt>Cascading Style Sheets</dt>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"/><span>2</span></dd>
<dd>Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents.</dd>
</dl>
<dl>
<dt>JavaScript</dt>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"/><span>3</span></dd>
<dd>JavaScript is a high-level, dynamic, untyped, and interpreted progrmming language.</dd>
</dl>
<dl>
<dt>AngularJS</dt>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"/><span>4</span></dd>
<dd>AngularJS is an open-source web application framework mainly maintained by Google and by a community of individuals and... </dd>
</dl>
</aside>
<article>
<h1>Welcome to <samp>Massive Open Online Course!</samp></h1>
<p>We provide the latest knowledge to help you cope with the changing world!</p>
<img src="http://climg.mukewang.com/582e61180001ede703300130.jpg"/>
<p>We hope that all the students who love the internet can be more convenient access to learning resources, using the Internet thinking to change our learning.</p>
<p>Focus on IT skills education MOOC, consistent with the development trend of the internet down to earth's MOOC. We are free, we only teach useful, we concentrate on education.</p>
</article>
</section>
</body>
</html>
1回答
好帮手慕言
2019-06-24
同学你好,效果实现的很棒!继续加油,祝学习愉快~
相似问题