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

:active

By , About.com Guide

: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
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  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>

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

All rights reserved.