Create a Website
HTML
Dreamweaver
CSS Tutorial
JavaScript
FREE Hosting!
With every domain name
you register at DotEasy
you get FREE (no-ad)
one year hosting.
PLUS you get:
  • FREE Website Builder
  • FREE Blog
  • FREE Forum
  • FREE Photo Album
  • FREE Email Accounts
Get your FREE hosting today!
Home > CSS Tutorial
$0 Web Hosting

Here are the various ways you can use CSS to style links.

The Code

a:link {color: value;}
a:visited {color: value;}
a:hover {color: value;}
a:active {color: value;}

Note: you must declare the a:link and a:visited before you declare a:hover. Futhermore, you must declare a:hover before you can declare a:active.

Enjoy this tutorial?

1. Link to this page(copy/paste into your own website or blog):
2. Add this page to your favorite social bookmarks sites:
3. Add this page as your favorites. (Press Ctrl+D)