+ 4
How do i create Multi-color text in html?
5 Answers
+ 4
<span style="font-family: tahoma">
<span style="color: red">U</span>
<span style="color: blue">s</span>
<span style="color: red">e</span>
<span style="color: blue">r</span>
<span style="color: red">n</span>
<span style="color: blue">a</span>
<span style="color: red">m</span>
<span style="color: blue">e</span>
</span>
+ 1
Sajid thanx man. Appreciate that.
0
You need to put each letter separately in a span tag and then color the span elements.
Ex-
<span style="color:#FF0000">H</span>
<span style="color:#66CC66">e</span>
<span style="color:#FF9966">l</span>
<span style="color:#FFCCCC">l</span>
<span style="color:#FF0066">o</span>
Another way is to use an image.
Ex -
<img src="multicolortext.png"/>
0
LIFE DO GIVE SECOND CHANCE :) your welcome đ
0
write each letter you wish to change the color in a span tag and specify the color you want.