Forums.Likebd.Com

Full Version: CSS - Links
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This tutorial will teach you how to set different properties of a hyper link using CSS. You can set following properties of a hyper link:

We will revisit same properties when we will discuss Pseudo-Classes of CSS.

The :link Signifies unvisited hyperlinks.

The :visited Signifies visited hyperlinks.

The :hover Signifies an element that currently has the user's mouse pointer hovering over it.

The :active Signifies an element on which the user is currently clicking.

Usually these all properties are kept in the header part of HTML document.
<style>
a:link {color: #000000}
a:visited {color: #006600}
a:hover {color: #FFCC00}
a:active {color: #FF00CC}
</style>