A:hover and named anchors

The named heading "A:hover and named anchors" is now not subject to the same hover effects as the link below in Mozilla, Netscape 6+, or Opera 5+. This is due to the use of the attribute selector a[href]:hover. However, Internet Explorer 5&6 do not support attribute selectors, therefore IE5&6 users would not see a hover effect.

This is a link to the above heading

a {display: block}
a:link, a:visited {text-decoration: none; color: blue}
a[href]:hover {text-decoration: underline; color: red; background: yellow}

<h1><a name="target">A:hover and named anchors</a></h1>
<-- Back to the example problem page
Test date: June 20, 2002
Modified: June 25, 2002
Modified: March 3, 2003