+ 3
How can we give more than one colour to a single line .
Html
5 Respuestas
+ 5
You could use the <span> tag
+ 1
Krishni upvote , like the question
+ 1
You can use <span> tag and give it a class, then give any color to a class
Exmple :
<p> this is black <span class="red"> this is red </span></p>
Css :
.red {color : red}
0
amir kalan ,Chandhini A , and others also
Please upvote or like this question
0
By span tag