<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
p{
color: red;
/*
* font-family: "微软雅黑"; 字体样式
*/
font-family: "微软雅黑";
/*
注意:如果是字体标签,那么使用<font face="宋体">属性
如果是在样式里面,使用font-family属性
* */
font-size: 32px;
/*
font-weight: 400 设置字体的粗细
* */
font-weight: bolder;
/*
*
font-weight: normal;表示默认字体
font-weight: bold;字体加粗
font-weight: bolder;字体更粗
font-weight: 400;数字方式表示字体粗细程度
*/
/*
line-height: 200% 设置行高 ,作用是文本竖着居中显示,即文字在纵向上是居中的
* */
line-height: 100%;
/*
text-indent: 2em 设置首行缩进2个文本位置,即通俗理解的空两格的意思
* */
text-indent: 2em;
}
a{
/*
text-decoration: none 去掉a标签自带的下滑线
* */
text-decoration: none;
}
</style>
</head>
<body>
<p>
所有的男人都是骗子,不管漂亮的女孩还是不漂亮的女孩,都会被骗,只不过,幸运的女孩,
遇到的是一个大骗子,会被骗一辈子,不幸运的女孩,遇到的是一个小骗子,被骗一阵子
</p>
<a href="#">郝丽浩</a>
</body>
</html>