一.字体样式
![这里写图片描述](https://img-blog.csdn.net/20180118171323588?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118171412273?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118171613387?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118171731441?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118174335138?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118172530330?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118174413187?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118174459190?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
二.文本样式
![这里写图片描述](https://img-blog.csdn.net/20180118174533578?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118174552620?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118171941084?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![这里写图片描述](https://img-blog.csdn.net/20180118174222033?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3RkYXNr/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>文本属性</title>
<style type="text/css">
p{
background-color: #ececec;
height: 150px;
text-align: center;
line-height: 150px;
}
.text1{
color: #c9394a;
font-size: 80px;
font-weight: bold;
}
.text2{
font-size: 40px;
color: gray;
text-decoration:underline;
letter-spacing: 5px;
vertical-align: 15px;
}
.text3{
font-size: 80px;
color: gray;
font-style: oblique;
}
</style>
</head>
<body>
<p><span class="text1">慕课网</span> <span class="text2">只学有用的</span><span class="text3">!</span></p>
</body>
</html>