CSS Links Example




CSS Links Example

<!DOCTYPE html>
<html>
   <head>
      <style>
         a:link {
            background-color: yellow;
         }
      </style>
   </head>
   <body>
      <a href="http://www.tutorialsroot.com">Tutorialsroot</a>
      <a href="http://www.tutorialsroot.com">Tutorialsroot</a>
      <p><b>Note:</b> The :link selector style links to pages you have not visited yet.</p>
   </body>
</html>

Output