Link Search Menu Expand Document

Adjust the Hover State of an Anchor Tag

Summary

  • A pseudo-class is a keyword that can be added to selectors, in order to select a specific state of the element.

Final Code

<style>
  a {
    color: #000;
  }
  a:hover {
    color: blue;
  }


</style>
<a href="https://freecatphotoapp.com/" target="_blank">CatPhotoApp</a>