Little Web Hut
(Cascading Style Sheets) CSS 2.1 Reference

CSS Pseudo-class :link Selector

 

What is a CSS Pseudo-class :link Selector?

  • The :link pseudo-class selector specifies links that have not been visited. In the following example, the color property will be set to green for any <a> element link that has not been visited.
CSS Example:
  a:link {color: green;}
  <a href="http://www.littlewebhut.com">Visit Little Web Hut</a>
Test It HTML StyleTest It XHTML StyleTest It HTML5 Style