A:link {text-decoration:none;color:#00ffff;}
A:visited {text-decoration:none;color:#0000ff;}
A:active {text-decoration:underline;color:#ff0000;}
A:hover {text-decoration:underline;color:#ffff00;}

大家都知道A:link是超文本链接的属性,即连接的原始状态。A:visited是超连接访问后的状态。A:hover是盘旋状态即鼠标放上去的状态,那A:active是什么状态呢?他也是访问后的状态,不过他与A:visited有区别,他指刚访问过的状态,如果把刚访问过的网页关了,再打开就变成visited状态了,而不是active状态了。

相关文章:

  • 2022-12-23
  • 2021-05-23
  • 2021-05-28
  • 2021-06-10
  • 2022-12-23
  • 2021-08-04
猜你喜欢
  • 2022-12-23
  • 2021-10-27
  • 2022-02-06
  • 2021-09-04
相关资源
相似解决方案