+ 1

How to color text on html

29th Mar 2021, 2:35 PM
KF_SHADOW
KF_SHADOW - avatar
5 Antworten
+ 4
Its recomend to complete css Course You can use color property of css to do this. body{ color: red; }
29th Mar 2021, 2:42 PM
Ayush Kumar
Ayush Kumar - avatar
+ 2
Thank you
29th Mar 2021, 2:42 PM
KF_SHADOW
KF_SHADOW - avatar
+ 2
<tag style="color: red;">
29th Mar 2021, 4:22 PM
Parth Shendge
+ 1
<style> body{ color : red;} </style> // instead of red you can use hexadecimal code or rgb value ... Its best practice to use hexadecimal and rgb than color name.... I hope it will help you
29th Mar 2021, 2:59 PM
Alian Jutt
Alian Jutt - avatar
+ 1
Thanks for your answer
29th Mar 2021, 3:23 PM
KF_SHADOW
KF_SHADOW - avatar