Change Link color of ONLY one link on page (without CSS?)

liunx

Guest
I would like to make <only> one link on a page a different color than the rest. I'm just now grasping HTML and since i don't fully understand CSS and only want this on one link, can it be done without using CSS?<br />
<br />
Here's the code for the link i want to change:<br />
<br />
<td align="center"><b><u>Text1</u></b><a href=http://www.htmlforums.com/archive/index.php/"http://www.domain.com"><IMG border="0" width="75" height="75" alt="Pic Description" src="/pic.gif"><b><u>Text2</u></b></br></a>Text3</td><br />
<br />
Text3 is already black since it's outside the anchor tags, but how can i make Text1 and Text2 appear in black as well?<br />
<br />
Thanks.<!--content-->HTML (depreciated):<br />
<font color="#000000">text</font><br />
CSS:<br />
<span style="color:#000000;">text</span><br />
I hope this helps.<br />
Peace,<br />
Ed :)<!--content-->Thanks for the reply...<br />
<br />
I tried the above, putting it both inside the <table> tag, immediately after the <table> tag, as well as inside the <td> tag and immediately outside the <td> tag.... but none seem to work.<br />
<br />
I assume it doesn't make a difference that it's a link and not text? I did try the above variations with <font link color="#000000"> but nothing seems to work.<br />
<br />
Any help, advice, leads, are appreciated.<!--content-->It has to be after the <a> to work.<br />
<br />
<table><br />
<tr><br />
<td><br />
<a href=http://www.htmlforums.com/archive/index.php/"#"><span style="color:#000000;">Text</span></td><br />
</tr><br />
</table><br />
<br />
:rocker:<br />
Peace,<br />
Ed<!--content--><td align="center"><font color="#000000"><b><u>Text1</u></b></font><a href=http://www.htmlforums.com/archive/index.php/"http://www.domain.com"><br />
<IMG ... ><font color="#000000"><b><u>Text2</u></b></font></br><br />
</a>Text3</td><br />
I have to say, though, that that method sucks. I would recommend learning CSS along side HTML. The span tag shown ealier can replace the font tags.<br />
<br />
Oh, and what is that </br> tag? If you are wanting a line break, the correct tag is <br>.<!--content-->Eddy,<br />
<br />
Thanks your reply worked! I needed to tweak it somewhat to work on Text1 AND Text2 (i just repeated the code), but it all looks the way i want it right now.<br />
<br />
<br />
Doog,<br />
<br />
Thanks for pointing out the errors of my ways:) I'm trying to learn this on the fly as i have a project i'm working on and try to "learn as i go". When i have the time, i will certainly try to learn CSS as i hear it's the proper and modern way to do things.<br />
<br />
The </br> code does indeed work (so i'm not messing with it right now as i have too many other things that need to get done with this) but will certainly adjust my future line breaks acccordingly.<br />
<br />
Thanks to everyone that helped!<!--content-->
 
Back
Top