<!-- CSS:Basics snippet 6. -->
<!-- Customised links using CSS anchor pseudo-classes. -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Code source: http://www.justfigures.co.uk/ -->
<!-- A resource for web developers using XHTML, CSS, JavaScript, PHP -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>View snippet page</title>
<style type="text/css">
/* note the order in which the pseudo classes appear */
a:link{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000099;
	text-decoration: none;
}
a:visited{
	color: #6666CC;
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}
a:active{
	color: #FF0000;
	text-decoration: none;
}
</style>
</head>
<body>
<a href="6_testLink2.php">Test link using standard link colours.</a>

</body>
</html>