CSS Links
:
The four links states are:
- a:link - a normal,
unvisited link
- a:visited - a link the
user has visited
- a:hover - a link when
the user mouses over it
- a:active - a link the
moment it is clicked.
<!DOCTYPE html>
<html>
<head>
<style>
/* unvisited link */
a:link {
color:
#FF0000;
}
/* visited link */
a:visited {
color:
#00FF00;
}
/* mouse over link */
a:hover {
color:
#FF00FF;
}
/* selected link */
a:active {
color:
#0000FF;
}
</style>
</head>
<body>
<p><b><a
href="default.asp" target="_blank">This is a
link</a></b></p>
<p><b>Note:</b> a:hover MUST
come after a:link and a:visited in the CSS definition in order to be
effective.</p>
<p><b>Note:</b> a:active MUST
come after a:hover in the CSS definition in order to be effective.</p>
</body>
</html>
html span text lowercase examples
ReplyDeleteSpan tag text-transform uppercase lowercase capitalize