What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 11, 2008 by pilgrim
Labels: about-css
LinkCSSPseudoClass  
The :link CSS pseudo-class matches any unvisited hyperlink.

Usage

a:link {
   color: red;
}
/* This turns any unvisited link in your page red. */

/* Note that this is redundant code, as simply referencing a{} without the :link pseudo-class will also change its :link property by default, as such: */

a { color: red; }

/* This code has the same effect as the code above. */

Browser compatibility

Test IE8 IE7 FF3 FF2 Saf3 Opera9.5

Further reading


Sign in to add a comment