CSS :link Selector

HTML Code

<!DOCTYPE html>
<html>
<head>
<style>
a:link {
background-color: yellow;
}
</style>
</head>
<body>

<a href=”http://rinectar.com/”>rinectar.com</a>
<a href=”https://www.wikipedia.org”>wikipedia.org</a>

<p><b>Note:</b> The :hover selector style links on mouse-over.</p>

</body>
</html>

HTML View

If you want to join my online or offline graphic designing course than just call me - 9334029817

Related Posts

Leave a Reply

Open chat