Complete CSS Selector Reference
The :link selector is used to select unvisited links.
Note: The :link selector does not style links you have already visited.
Tip: Use the :visited selector to style links to visited pages, the :hover selector to style links when you mouse over them, and the :active selector to style links when you click on them.
![]()
The :link selector is supported in all major browsers.
CSS tutorial: CSS Links
CSS tutorial: CSS Pseudo classes
Select and style unvisited, visited, hover, and active links:
Style links with different styles:
Complete CSS Selector Reference
Your message has been sent to W3Schools.