Applying CSS to your links allows you to do all sorts of nice roll-over effects and advanced text highlighting. You will also be able to have many sets of links on a single page, all with different formatting. Links can be styled with any CSS property (e.g. color, font-family, background, etc.)
In addition, links can be styled differently depending on what state they are in.
<html>
<head>
<style>
/* unvisited link */
a:link {
color:#FF0000;
}
/* visited link */
a:visited {
color: #FF00FF;
}
/* mouse over link */
a:hover {
color: #0000FF;
}
/* selected link */
a:active {
color: #0000FF;
}
</style>
</head>
<body>
<h1><a href="C:/xampp/htdocs/r4r_advance/css1/fonts_in_css.shtml"
target="_blank" >Click on a link</a></h1>
<p><i>Note:</i> Basically it is provide different types of linking in CSS.</p>
</body>
</html>
Others
Languages
Frameworks
Web / Design
Mobile Technology
Sql & Technology
R4R