a标签操作

来源:互联网 发布:修改ssh端口无效果 编辑:程序博客网 时间:2024/06/06 03:17

要让鼠标悬停在<A onclick="...">标签文字</A>上时显示手形怎么办

<a href="^^^^" style="CURSOR: hand"></a>

cursor:pointer(箭头)

去掉下划线

text-decoration:none

text-decoration参数: 
none :  无装饰
blink :  闪烁
underline :  下划线
line-through :  贯穿线
overline :  上划线

以上部分都可以用css定义,然后在a标签中调用

a标签初始状态

a{color:blue; CURSOR: hand; text-decoration:none;}

放在a标签上变色

.myclass:hover{color:red; CURSOR: hand; text-decoration:none;}

link { text-decoration: none  color: blue } //未访问:蓝色、无下划线 

active { text-decoration: none  color: yellow }//激活:黄色

visited { text-decoration: none  color: purple}  //已访问:purple、无下划线 




原创粉丝点击