How to change link color in HTML without CSS
If you want to change the color of a link in HTML without CSS, I think you can learn something new in this article.
I will share two different ways to change link color without CSS using only HTML.
Change link color using the font tag. #
We can use font tag to change hyperlink color without CSS. The example is given below.
<a href="https://www.3schools.in">
<font color="red">
Visit 3schools
</font>
</a>
The font tag is not supported in HTML5 .
Change hyperlink color using the link and vlink attributes. #
The link, vlink and alink attributes of the body element allow us to change the color of the hyperlink in a Document .
<body link='red' vlink='orange' alink='green'>
<a href="https://www.3schools.in">
Visit 3schools
</a>
</body>
| link | It adds style to the unvisited link. |
| vlink | It is used to add style to a visited link. |
| alink | It adds style to an active link. |
The link, vlink, alink attributes of the body element are not supported in HTML5.
save
listen
AI Answer
How to change link color in HTML without CSS
0
If you want to change the color of a link in HTML without CSS, I think you can learn some…
asked
Apu
0 answers
2915
If you want to change the color of a link in HTML without CSS, I think you can learn some…
Answer Link
answered
Apu
