Usage of :link pseudo-class in CSS

CSSWeb DevelopmentFront End Technology

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>
raja
Published on 18-Apr-2018 07:11:58
Advertisements