# 1.链接的字体及下划线等
````
Document/* text-decoration :none|underline|overline|line-through */
a{
text-decoration: none;
font-size: 30px;
font-weight: bold;
font-style: italic;
}
/* 大小加粗斜体 */
````
![](https://box.kancloud.cn/6d250d0d0e5a94cdb6ecfc238cade2c2_1440x758.png)
# 2.链接的状态
````
Document/* 未被访问过的链接 */
a:link{
color: red;
}
/* 已经访问过的链接 */
a:visited{
color: blue;
}
/* 鼠标点击的时候 */
a:active{
color: green;
}
/* 鼠标悬停的时候 */
a:hover{
color: pink;
}
````