How do you change the colour of a link when using HTML code?

I'm using Notepad to make a web page, and it won't let me change the colour of my link. I want to make it white, but it stays purple. I've tried writing <font color=#FFFFFF> but it's not working. Am I doing something wrong? What should I type instead. Please Help!

Public Comments

  1. <a href="#" style="color:#fff;">word</a>
  2. I have found that if you change the color of the link, it no longer functions as a link.
  3. try this the info for link colours is in the body tag <body link="#FF0000" vlink="#0000FF" alink="#008080"></body> change the values for whatever colour you want
  4. Link Color <BODY LINK="#FFFFFF"> Visited Link <BODY VLINK="#FFFFFF"> Active Link <BODY ALINK="#FFFFFF">
  5. You need to use css instead. It's not all that hard really. Look here. http://www.w3schools.com/css/css_pseudo_classes.asp Here's code that should work for it though <html> <head> <style type="text/css"> a.one:link {color: #ffffff} a.one:visited {color: #ffffff} a.one:hover {color: #ffffff} </style> </head> inside the link tag, <a href="YOUR LINK HERE" class = "one"> YOUR TEXT HERE IN BETWEEN THE LINK </a> Copy and past the top part into the head tag (or at the top of the page if you don't have the head tag in, and if you have the head tag, make sure to delete mine, and put the rest inside it) and inside the link tag that I provided, put the link and text you want. The only difference between it and a normal link tag is that I have something in it saying class="one" I hope that helps! ^.^
  6. yeah what dulin said. HTML font tags are SEVERELY depreciated, kind of like using tables for layout...
Powered by Yahoo! Answers