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

:active

By Jennifer Kyrnin, About.com

:active Description:

The :active pseudo-class matches active links as they're clicked on.

:active Web Browser Support:

:active in CSS Versions:

:active Examples:

Set the active color of all links on a page

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

:active Special Notes:

  • Most browsers only support this pseudo-class on the a element.

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

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

All rights reserved.