console
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>边框</title>
<style type="text/css">
#body{
padding: 0px;
margin: 0x;
}
#box{
background-color: rgb(241, 114, 114);
margin: 20px;
border: 10px solid #999;
padding: 35px;
width: 300px;
}
#text1{
background-color: #48eb9c;
height: 55px;
text-indent: 2em;
font-size: 12px;
}
#text2{
background-color: #48eb9c;
height: 40px;
text-indent: 2em;
font-size: 12px;
}
</style>
</head>
<body>
<div id="box">
<div id="text1">WEB标准不是某一个标准,而是一系列标准的集合.
网页主要由三个部分组成:结构(Structure)、表现(Presentation)和行为(Behavior).</div>
<div id="text2">内容和形式分离,网页前台只需要显示内容就行,形式上的美工交给CSS处理.</div>
</div>
</body>
</html>