Computer >> Computer tutorials >  >> Programming >> CSS

Usage of :link pseudo-class in CSS


The :link pseudo-class is used to add special style to an unvisited link. Possible values could be any color name in any valid format. 

Example

<html>
   <head>
      <style>
         a:link { color:#000000; }
      </style>
   </head>
   <body>  
      <a href = "">
         Demo Link
      </a>
   </body>
</html>