<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
<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
本文标题:a 行内伪元素:hover visited
本文链接:https://www.haomeiwen.com/subject/hxgsvltx.html
网友评论