+ 2

How can i give different colours to my written text in html?

13th Jan 2017, 9:09 AM
Micro Pixels
Micro Pixels - avatar
6 odpowiedzi
+ 4
<span style="color: red">Hello</span> or <font color="red">Hello</font>
13th Jan 2017, 9:13 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 3
Sadly yes
13th Jan 2017, 9:16 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 2
Do i need to do it multiple times in order to use different colours for one single line? for ex : My (red colour) name (blue colour) is(pink colour) steve(yellow colour)
13th Jan 2017, 9:16 AM
Micro Pixels
Micro Pixels - avatar
+ 1
Oh! Anyways Thanks for Ya Help!
13th Jan 2017, 9:17 AM
Micro Pixels
Micro Pixels - avatar
+ 1
three way to give a specific color to your text, follow these step, step1: using simply name of color like red, green, aqua,teal..so on step2: using rgb(255,255,255); step3: using hexa color code like #ffoooo, #ooffoo,#ooooff same ref, blue green
13th Jan 2017, 12:04 PM
Aashish Kumar
Aashish Kumar - avatar
0
Use <span style="color:#ff0000;">Text</span>. Do not use the <font> tag as it has been deprecated since HTML 4.01 (c. 1999)
13th Jan 2017, 9:19 AM
L Cilliers
L Cilliers - avatar