CSS Tutorials

Properties, Hyperlinks

hyperlinks.html

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>List Styles</title>
<style type="text/css">
<!--

a.myFirstLink:link {
color: #F60;
text-decoration: none;
}

a.mySecondLink:link {
color: #F60;
text-decoration: overline;
}
a.mySecondLink:visited {
color: #F60;
text-decoration: line-through;
}
a.mySecondLink:hover {
color: #c90;
text-decoration: underline;
}

-->
</style>
</head>

<body>

<p>
<a href="#" class="myFirstLink">Hyperlink</a> <a href="#" class="mySecondLink">Hyperlink</a>
</p>

</body>
</html>

hyperlinks.html
CSS
Other Tutorials