+ 9

Please answer.i want to create a heading 'Yes Yes Yes'.And need to give different colors to each 'Yes'.How can i do it?pls answr

16th Apr 2020, 9:08 AM
Abhinraj
37 ответов
16th Apr 2020, 9:47 AM
Ian Stewart
Ian Stewart - avatar
+ 3
<h1> <span style="color:red" >yes </span> <span style="color:blue" >yes </span> <span style="color:green" >yes </span> </h1>
17th Apr 2020, 10:23 AM
Suresh Edison
Suresh Edison - avatar
+ 3
<h1> <span style="color:red" >yes </span> <span style="color:blue" >yes </span> <span style="color:green" >yes </span> </h1>
17th Apr 2020, 1:54 PM
ADELERU IBRAHIM ADESHOLA
ADELERU IBRAHIM ADESHOLA - avatar
+ 3
You can use <font> for each "yes"
18th Apr 2020, 6:45 AM
MOHAMMED FAISAL UT
MOHAMMED FAISAL UT - avatar
+ 2
You can try this: <h1><span style="color:red;">Yes</span><span style="color:green;">Yes</span><span style="color:blue;">Yes</span></h1> and of course you can replace style="color:blue;" with css class or id if you have external css file I hope you understand it
17th Apr 2020, 10:22 AM
Mayar Yasser Elabbasy
Mayar Yasser Elabbasy - avatar
+ 2
thanks guys.I found the answer
17th Apr 2020, 10:27 AM
Abhinraj
+ 2
<html> <Body> <H1> <font color="Blue">Yes <font color="Aqua"> Yes <font color="Green"> Yes </H1> </Body> </html> You can also use RGB codes for those colours.
17th Apr 2020, 4:07 PM
Vighnesh Brahme
Vighnesh Brahme - avatar
+ 2
Just put each head in a <span> tag then use css inline styling for all the yes. I.e style="color:yellow;". Thats all
17th Apr 2020, 4:37 PM
Akintunde Taofeek
Akintunde Taofeek - avatar
+ 2
Abhinraj its a good question for some people, while its annoying to others. so simple to do. just use the SPAN ELEMENT Example: <h1> <span style=“color:red”> Yes</span> <span style=“color:green”> Yes</span> <span style=“color:blue”> Yes</span> </h1> three “Yes” with different color each. thank you! 😀
17th Apr 2020, 8:20 PM
Layo Muhammed
Layo Muhammed - avatar
+ 1
Cool. My stepmom is from Amritsar.
16th Apr 2020, 9:52 AM
Ian Stewart
Ian Stewart - avatar
+ 1
You can use internal css
16th Apr 2020, 8:07 PM
Abiola Esther
Abiola Esther - avatar
+ 1
<h2> <font color="red">yes&nbsp;&nbsp;</font> <font color="blue">yes&nbsp;&nbsp;</font> <font color="yellow">yes&nbsp;&nbsp;</font> </h2>
17th Apr 2020, 8:27 AM
Sumit Jamnani
Sumit Jamnani - avatar
+ 1
<h1 style="color:red;">Yes</h1> <h1 style="color:blue;">Yes</h1> <h1 style="color:green;">Yes</h1>
17th Apr 2020, 9:01 AM
Suresh Edison
Suresh Edison - avatar
+ 1
<p style="color:blue;">Yes</p></n> <p style="color: yellow;">Yes</p></n> <p style="color:black;">Yes</p>
17th Apr 2020, 5:30 PM
Dharani Madheswaran
Dharani Madheswaran - avatar
+ 1
By <div> tag and using css
17th Apr 2020, 6:00 PM
AYUSH CHAUHAN
AYUSH CHAUHAN - avatar
+ 1
Hi, this maybe the solution for you <h1> <font color=#D0E4F5>yes </font> <font color=#1C6EA4>yes </font> <font color=#FFAA21>yes </font> </h1>
17th Apr 2020, 6:08 PM
Roberto Rodrigues
Roberto Rodrigues - avatar
0
thanks
16th Apr 2020, 9:47 AM
Abhinraj
0
You're welcome!
16th Apr 2020, 9:48 AM
Ian Stewart
Ian Stewart - avatar
0
you from
16th Apr 2020, 9:48 AM
Abhinraj
0
San Francisco.
16th Apr 2020, 9:49 AM
Ian Stewart
Ian Stewart - avatar