一、text文本属性
color 颜色样式
text-indent 首行缩进
text-decoration 文本修饰
none 默认值,无下划线
underline 下划线
overline 上划线
text-align 文本对齐方式
left 左对齐
center 居中对齐
right 右对齐
二、background背景属性
background-color 背景颜色
background-image:url() 背景图片
background-size:x y 背景图片大小
background-repeat 背景平铺
repeat 默认值,平铺
no-repeat 不平铺
repeat-x 仅水平平铺
repeat-y 仅垂直平铺
三、table表格
表格标签<table></table>
行标签<tr></tr>
单元格标签<td></td>
table标签属性
border 表格表框
cellpadding 内容与单元格的距离
cellspacing 单元格与单元格之间的距离
td标签属性
colspan 水平合并(跨列)
rowspan 垂直合并(跨行)
四、列表
1.无序列表 ul li
<ul>
<li></li>
<li></li>
</ul>
2.有序列表 ol li
<ol>
<li></li>
<li></li>
</ol>
3.自定义列表 dl dt dd
dt 提示标题
dd 列表项
<dl>
<dt>
<dd></dd>
<dd></dd>
</dt>
</dl>
列表的css样式
list-style:none; 去掉列表的样式。
浙公网安备 33010602011771号