文字排版
字体 body{font-family:"Microsoft Yahei"}
字号颜色 body{font-size:18px;color:red} // 耶可以用RGB(x,y,z)或者是#98020 表示
加粗 p{font-weight:bold}
斜体 p{font-style:italic}
下划线 a{text-decoration:underline;}
删除线 比如说要你在网站上显示删除旧的价格
定义一个类选择器 .oldPrice{text-decoration:line-through}<p>原价:<span class="oldPrice">300$</span>现价:500$<p>
缩进 p{text-indent:2em;}
行间距 p{;ine-height;1.5em;}
字间距、字母间距 hi{letter-spacing:50px;} 设置英文字母的时候,设置的是字母与字母之间的距离
h1{word-spacing:50px;}设置单词与单词 字间距
对齐 为块状元素的文本、图片设置居中样式
p{text-align:center}//right//letf//