Change the Color of Active Links with CSS

JavascriptWeb DevelopmentFront End Scripts

To change the color of active links, use the: active property. You can try to run the following code to change the color of active links:

Example

<html>
   <head>
      <style>
         a:active {
            color: #FF00CC
         }
      </style>
   </head>
   <body>
      <a href = "">My Demo Link</a>
   </body>
</html>
raja
Published on 17-Apr-2018 10:32:39
Advertisements