Start learning →

Which pseudo-class styles an element only while the pointer is over it?

A:hover
B:visited
C:active
D:link
Answer & Solution
Correct answer: A. :hover
The :hover pseudo-class matches content when the user points to the visible element.
Practise this question with Quill — Olympiad (Class 6) →

Keep practising HTML, CSS and Scratch

Browse all HTML, CSS and Scratch questions for Olympiad (Class 6), or explore more Computer Science topics.

Start a HTML, CSS and Scratch lesson →
Related questions