Introduction
Text
Formatting
Links
URL
Anchor Tag
Link Colors
Example
Lists
Images
Tables
Frames
Forms
Conclusion


Link Colors
The default appearance for a link is to have it underlined and usually the color is blue. You may change the default through either Cascading Style Sheet (CSS), or you may change the color through the body attributes. Here are the three attributes that relate to links:

  • LINK
  • VLINK
  • ALINK
LINK - this attribute will set the color for the links that the user has not been to or clicked on, yet.

VLINK - or visited link; this attribute will set the color for links that the use has previously visited. It is preferable that the link change to another color than the color of those links that have not been visited so as to indicate to the user where he/she has or has not been.

ALINK - or active link; this attribute will set the color for links when the user has the mouse pressed on it or clicks on it.

Here is the syntax for setting all three body attributes:

<BODY BGCOLOR="#000000" TEXT="#00FFFF" LINK="#FF00FF" VLINK="#333399" ALINK="#CCCCCC">

back  next

© Copyright 2000-2002 by Pepmint.com. All Rights Reserved

Search Pepmint.com

home :: tutorial :: portfolio :: links :: hammies :: guestbook :: contact