Essentials
primer-original-v2mediumEssentialsWeb Technologiesprimer-original-v2

If you want to change the color of a link to red when moving mouse pointer on top of it, which CSS property you need to change?

Answer options

A
a:hover{ color: red; }
B
CSS
C
<div>
D
<span>

Correct answer: a:hover{ color: red; }

Explanation

Quick AnswerThe correct answer is a:hover{ color: red; } because it directly addresses the core logic of Essentials.

This question has been retained as-is due to its unique context.

Related Essentials questions

Practice more Essentials questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.