Formatting Links

One of the nifty things one can do with CSS is change the behaviour of links. Using the following syntax, we can control how are links look at all stages. (So they don't have to be boring and blue!) While I only specified changes in color here, you can change all sorts of attributes like size, font or weight.

a:link	{
	color: green;
	}
a:visited	{
	color: purple;
	}
a:hover	{
	color: blue;
	}
a: active	{
	color: red;
	}


Next Page >>