Set the Color of links with CSS

JavascriptWeb DevelopmentFront End Scripts

To set the link color with CSS, you can try to run the following code:

Example

<html>
   <head>
      <style>
         a:link {
            color:#000000
         }
      </style>
   </head>
   <body>
      <a href = "">My Link</a>
   </body>
</html>
raja
Updated on 31-Jan-2020 06:55:25

Advertisements