how to change links colors using just html not css. to a specific link

Discussion in 'Web Design' started by chikooo, Dec 7, 2008.

to remove all ads.
  1. chikooo

    chikooo New Member

    Messages:
    3
    ok i want to change the color of a link using html i dont want to use css.
    i dont want to put the link color on the body tag. i want to put it on each link. how do i do it?
     
  2. Geodun1

    Geodun1 New Member

    Messages:
    145
    Code:
    <a href="#" style="color: red" /> Link </a>
    You're gonna end up using CSS, but the simplest way is that. Another method is to assign id's in your css file and just add id="" to your anchor tag.
     
  3. conor

    conor New Member

    Messages:
    348
    why not use CSS ?? with CSS you can apply hover techniques aswell. The use of HTML for styles is widely discouraged.

    there is a way to do it using outdated HTML:
    Code:
    <a href="#"><font color="grey">link</font></a>
    I don't advise you to use that
     
    Last edited: Dec 7, 2008
  4. biyush

    biyush New Member

    Messages:
    3
    Last edited: Dec 8, 2008
  5. Ervin

    Ervin New Member

    Messages:
    1
    Using html is very basic technique, no one use it now a days. the best one is CSS.
     

Share This Page