Basically, what happens to you is that all the elements under the <a> tag inherit the css properties of the hyperlink (underline, blue, etc.)
To counter this, create an identifier or class in your tag and remove / override the default binding properties.
For example, to remove the underline that you do: text-decoration: none;
After that, redefine the pseudo-classes associated with Link:: link ,: visited ,: hover and : active .
source share