How do you change the underline color and the link color with html ?

  • Thread starter Thread starter 0h.s0.Cuffable/
  • Start date Start date
0

0h.s0.Cuffable/

Guest
Does anyone know the code to change my link color ? and when you underline a word (ex. <u>text</u> ] how do you change the color of the line under the word ? Sorry if its confusing..
Well then you can at least make it look like it has a different color.
Here is what i was trying to explain can anyone help i would really appreciate it.
h t t p : / / i 3 9 .t i n y p i c . c o m / 2 d i h d f q . j p g
(take the spaces out]
 
To change link colors...

<style>
a
{
color:green;
}

a:hover;
{
color:red;
}
</style>

Replace green/red with the color of your choice. Put this in your <head> section.

You cannot have an underline color different from the color of the text above it.
 
Back
Top