<a href="javascript:void(0);" onmouseover="this.style.color=‘yellow‘;" onmouseout="this.style.color=‘blue‘;" onclick="this.style.color= ‘red‘;">链接</a>
onmouseout代表a:link
onclick代表a:visited
onmouseover代表a:hover
原文地址:https://www.cnblogs.com/hshen/p/10242461.html
时间: 2024-11-01 01:12:36