activeactive*
*



Contents  *



Index  *Topic Contents
*Previous Topic: CSS Attributes
*Next Topic: background

active

Description

Sets the style of anchor (A) elements when the link is engaged or "active".

Remarks

Active means that the user is currently navigating the link. Setting the active pseudo-class is often used in conjunction with setting specific styles for the other states of a link: link, visited, hover. Using pseudo-classes on elements other than the A element has no effect.

Example

Note that the syntax in the following example uses a colon (:) to specify a pseudo-class.

A:active {text-decoration:overline;color:purple}

Applies To

A

See Also

hover, link, visited


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.