Create a Website
CSS Tutorial
FREE Domain!
Any web hosting you subscribe with DotEasy will get you a FREE domain name registration.
PLUS you get:
  • FREE Website Builder
  • FREE Blog
  • FREE Forum
  • FREE Photo Album
  • FREE Email Accounts
Get your FREE domain name today!
Home > CSS Tutorial
SSD Web Hosting with FREE Domain

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)