:link CSS Pseudo Class

Description

The :link pseudo-class applies to links that have not yet been visited by the user, and sets the style for them.

Syntax

element:link { ... } 

Example

<p><a href="#">Test link number 1</a></p>
<p><a href="#">Test link number 2</a></p>
 a:link { 
color: #3e79f9;
font-weight: bold;
}

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
312113.51
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
1.5184X3.2X