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 Questionsa:link{ text-decoration: underline; color:purple;}
a:visited{ text-decoration: underline; color:purple; background-color:pink}
a:active { text-decoration: underline; color:purple; background-color:pink}
a:hover{ text-decoration: underline; color:purple; background-color:pink}
a:hover { text-decoration: none; color:purple; background-color:pink}
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