back next

Link Colors


To change the link colors, you'll need your color names or numbers just as you did for changing text colors. You can add the following attributes to the <body> tag with either color number or color name as their values:

link Controls the color of normal, unfollowed links in the page.
vlink Controls the color of links you have visited.
alink Controls the color of a link that has had the mouse button pressed on it but not released.


<body link=#0055ff vlink=#ff3399>



Back to HTML tutor homepage | Back | Next | Email me