+ 2

Can you add CSS and HTML to make only one code?

15th Dec 2017, 10:21 PM
Clarke
Clarke  - avatar
8 Answers
+ 6
16th Dec 2017, 1:43 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 4
I'm not sure if I understand you clearly, but if you meant adding inline CSS with HTML then yes it's possible. Example adding color to <p> you can do <p style = "color: red"> This is a paragraph! </p>. Note that inline CSS is considered bad practice.
15th Dec 2017, 10:51 PM
Aditya Verma
Aditya Verma - avatar
+ 3
Yes, in <head> add <style> and write your css there.
15th Dec 2017, 11:09 PM
Ice
Ice - avatar
+ 3
Thanks
16th Dec 2017, 7:12 AM
Clarke
Clarke  - avatar
0
sorry but this message is for Aditya verma you decline my challenge in c++ and php and you hope that I would accept you challenge in js.
6th Mar 2018, 2:26 PM
Alpha Rays
Alpha Rays - avatar
0
@Aman Kumar Are you OK? You challenged me in JS first buddy, that too twice. Not my fault if you didn't win and I didn't accept your c++ or php because I know neither. But you can challenge me in JS, Python, C, HTML, CSS, jQuery anytime :)
6th Mar 2018, 2:43 PM
Aditya Verma
Aditya Verma - avatar
0
cool, I like your confidence. let's have a match
6th Mar 2018, 2:53 PM
Alpha Rays
Alpha Rays - avatar
0
congratulation brother Aditya Verna You won the challenge in html.
7th Mar 2018, 3:27 PM
Alpha Rays
Alpha Rays - avatar