Check out example codes for "linking in css". It will help you in understanding the concepts better.

Code Example 1

/*a normal, unvisited link*/
a:link{
	color: green;
}
/*a link the user has visited*/
a:visited{
	color: purple;
}
/*a link when the user mouses over it*/
a:hover{
	color: yellow;
}
/*a link the moment it is clicked*/
a:active{
	color: brown;
}

Code Example 2

<p><a href>.css</a></p>

Code Example 3

a:hover {
  text-decoration: underline;
}

Code Example 4

<link rel="stylesheet" type="text/css"href="style.css">

Learn ReactJs, React Native from akashmittal.com