Set different properties of a hyper link using CSS. You can set following properties of a hyper link.

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

  • Link signifies unvisited hyperlinks.

    Visited signifies visited hyperlinks.

  • Hover signifies an element that currently has the user's mouse pointer hovering over it.

  • Active signifies an element on which the user is currently clicking.

Usually, all these properties are kept in the header part of the HTML document.

Remember a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective. Also, a:active MUST come after a:hover in the CSS definition as follows.

Set the Color of Links

The example program demonstrates how to set the link color. Possible values could be any color name in any valid format.

Set the Color of Visited Links

The example program demonstrates how to set the color of visited links. Possible values could be any color name in any valid format.

Change the Color of Active Links

The example program demonstrates how to change the color of active links. Possible values could be any color name in any valid format.

Example:


Output:

CSS Links Example Link
Link
Link
Link
Do you Know?
Progamming is what actually means ?

What is software development ?

How we categorized software development in different manner.

C Programming
C Plus Plus
Python
Java Development
Web Designing
Javascript
Mysql
Oracle
We cover all the programming concepts in various programming languages, this tutorials are very help full for bigener as well as Experience developer, for the ease of understanding we categorized programming in different manner likewise.