Easy Tutorial
❮ Css3 Pr Perspective Origin Css3 Pr Column Rule Style ❯

CSS :link Selector

Complete CSS Selector Reference

Example

Select the style for unvisited links:


Definition and Usage

The :link selector adds special styles to unvisited links.

Note: The :link selector does not style visited links.

Tip: Use the :visited selector to set the style for links to pages that have been visited, the :hover selector for the style of a link when the mouse is hovering over it, and the :active selector for the style when you click a link.


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Selector
:link 4.0 7.0 2.0 3.1 9.6

Related Pages

CSS Tutorial: CSS Links

CSS Tutorial: CSS Pseudo-classes


More Examples

Example

Activated, visited, unvisited, or a link with a mouse hovering over it:

Example

Different styles for links:


CSS element,element Selector

❮ Css3 Pr Perspective Origin Css3 Pr Column Rule Style ❯