If an html file has the following style- a:active { background-color: yellow; } and Body- <a href="https://www.deccansoft.com/">Deccansoft.com</a> <a href="https://www.bestdotnettraining.com/">bestdotnettraining.com</a> Which of the following is true?

Back to Questions
A)

Both Deccansoft.com and bestdotnettraining.com get background-color: yellow

B)

Deccansoft.com gets background-color yellow when it is visited

C)

bestdotnettraining.com gets background-color yellow when visited

D)

Only Deccansoft.com when clicked gets background-color yellow for the time it is active.

E)

Any link when clicked gets background-color yellow for the time it is active.

 

Author Explanation :

a:active Selects the active link

Answers Posted

PostedBy By: Ch Sai Praneeth, at 05:38 AM on 04-July-2019

Answer Posted: A

Explanation: Both Deccansoft.com and bestdotnettraining.com get background-color: yellow

Result: Wrong Answer

Back to Questions

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