+ 2
How can I write that sentence in different colors?
I mean,"I" in green,"am" in red,"limon" in purple color? pls give me the code
2 Respuestas
+ 5
<p style="color:green;">I</p>
<p style="color:red;">am</p>
<p style="color:purple;">limon</p>
+ 5
use tag "span", if you want inlined-text.
or use "p", if you want paragraphed-text.
<span style="color: green;">I</span>
<span style="color: red;">am</span>
<span style="color: purple;">limon</span>
p.s. - non-breaking spaces