Question · HTML and CSS course · Module 3: CSS Basics

The :hover Pseudo-class

Which pseudo-class lets you style an element when the mouse cursor is over it?

Answer options

  • :active
  • :focus
  • :hover
  • :visited

You can check the correct answer by solving this task in the CodeWorlds game.