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

chikooo

New Member
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?
 

Geodun1

New Member
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.
 

conor

New Member
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:
Top