61,112
社区成员
发帖
与我相关
我的任务
分享
<style>
a:link {text-decoration: none;color:green}
a:visited{color:red;font-weight:bold}
a:hover {text-decoration: underline; color: blue;}
a:active {text-decoration: none}
</style>
<a href="http://dotnet.aspx.cc" target="_blank">点击</a>
<a href="http://dotnet.51aspx.com" target="_blank">不点击</a>
<a href="http://dotnet2.51aspx.com" target="_blank">不点击</a>
<a id="mainCon" onclick="javascript:this.style.color='red';this.style.fontWeight ='600';this.style.fontFamily ='宋体'" href="#">文字点击后是红色宋体加粗</a>
<a onclick="javascript:this.style.color='red'" href="#">文字点击后是红色宋体加粗</a>