Html.常用的CSS文本

CSS元素
1.消除a标签下划线
text-decoration: none;
2.文本格式正常
font-weight: normal;
3.文本开头空两行
text-indent: 2em;
4.文本高度为2

line-heignt: 2em;

5.设置文本的水平对齐方式
text-align: center/left/right;
6.设置元素的垂直对齐方式
vertical-align:top/middle/buttom;
7.设置文本的大小
font-size
8.
a:link - 正常的,未访问的链接
a:visited - 用户访问过的链接
a:hover - 用户将鼠标悬停在链接上时
a:active - 链接被点击时

上一篇:AJP协议总结与分析


下一篇:Markdown 语法