1. Home
  2. Computing & Technology
  3. Web Design / HTML

:link

By Jennifer Kyrnin, About.com

:link Description:

The :link pseudo-class matches unvisited links.

:link Web Browser Support:

:link in CSS Versions:

:link Examples:

Set the color of all unvisited links on a page

<style>
:link { color: #f00; }
</style>

:link Special Notes:

  • This is different from styling simply the a element, as the :link pseudo-class can refer to any element that might be linked.
  • Most browsers only support this pseudo-class on the a element.

More :link Information:

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. CSS Pseudo Properties
  6. The :link Pseudo-Class - CSS 1 XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.