I there any way to remove the default hover effect of an anchor tag.
By default, on hovering anchor tag its background turns somthing like light blue.
Imo this is not possible, but trying my luck if somebody had done it before.
Below is the example of an anchor tag(without any link).
<a href="#">This is a link</>
I have tried :hover, :focus, :active but didn’t got the solution.
2
Answers
You didn’t close your anchor tag properly. You would simply use
a:hover
to set default hover attributes for all anchor tags.Try this