Which option will you select so that the link in an html file is underlined with purple color and background pink at the moment it is clicked.

Back to Questions
A)

a:link{ text-decoration: underline; color:purple;}

B)

a:visited{ text-decoration: underline; color:purple; background-color:pink}

C)

a:active { text-decoration: underline; color:purple; background-color:pink}

D)

a:hover{ text-decoration: underline; color:purple; background-color:pink}

E)

a:hover { text-decoration: none; color:purple; background-color:pink}

 

Author Explanation :

a:active - a link the moment it is clicked<br/>
a:active MUST come after a:hover<br/>

Answers Posted

PostedBy By: jayaprathap, at 04:41 PM on 15-April-2019

Answer Posted: C

Explanation: hover to select a link

Result: Correct

Back to Questions

© Copyright 1997 - 2019 | www.bestdotnettraining.com | www.deccansoft.com | All Rights Reserved.
 
Bestdotnet google plus
Enquiry Now



Input symbols