行高

<!DOCTYPE html>
<html>
<head>
 <title>行高  he  包含关系</title>
 <meta charset="utf-8">
 <style type="text/css">
 p{
  width: 800px;
  height: 500px;
  background-color: #faa;
  /*font的缩写*/
  font:bolder 18px "幼圆";
  line-height: 50px; 
 }
 p span{
  color: blue;
 }
 p>span{
  color: blue;
 }
 </style>
</head>
<body>
 <h3>今天去哪里鲁</h3>
 <p>
  <span class="sp">今天我们没作业,爽不爽?</span>开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心今天我们没作业,爽不爽?开心--骗你的,呵呵
 </p>
 <span class="sp">今天我们没作业,爽不爽?</span>
</body>
</html>

posted @ 2014-10-11 20:50  燕山月  阅读(102)  评论(0编辑  收藏  举报