# Description

The :hover pseudo-class matches link elements which have the cursor hovered them.

This selector has the form:

    :hover {
      declaration block
    }

# Examples

This example shows how to set the font color of all hovered HTML links to `red`.

    a:hover {
      color:red;
    }

This example sets specific colors for various link states.

    a:link {color:#FF0000}
    a:visited {color:#00FF00}
    a:hover {color:#FF00FF}
    a:active {color:#0000FF}

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | Yes
Defined In: | CSS1