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

Change the color of links when we bring a mouse pointer over that line with CSS


Use the :hover class to change the color of links when we bring a mouse pointer over that link.

Example

<html>
   <head>
      <style>
         a:hover {
            color: #FFCC00
         }
      </style>
   </head>
   <body>
      <a href = "">Bring Mouse Over Here</a>
   </body>
</html>