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

:visited

By Jennifer Kyrnin, About.com

:visited Description:

The :visited pseudo-class matches visited links.

:visited Web Browser Support:

:visited in CSS Versions:

:visited Examples:

Change the color of all visited links

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

:visited Special Notes:

  • User agents determine how long to leave a link as "visited".
  • Most browsers only support this pseudo-class on the a element.

More :visited 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 :visited Pseudo-Class - CSS 2 XHTML 1.0 HTML 4.0

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

All rights reserved.