+ 1

Can't u style h2 tag using CSS?

I have been trying to style h2,tried using DIV tag,inline Css etc.Nothing works as i expect it to.

22nd May 2020, 2:55 PM
Oh Boi!
Oh Boi! - avatar
5 ответов
+ 2
Well everything works fine ,Maybe you can specify what do you expect!? <style> #hello{ color:blue; background-color:rgb(200,150,100); font-family:cursive; font-size:30px; } </style> </head> <body> <h2 id="hello">hi there</h2>
22nd May 2020, 3:00 PM
Abhay
Abhay - avatar
+ 1
Ya,i just found something was wrong with my Notepad++ since the last update.RGBA colors won't work.tried on sublime.It works fine now.Thank you tho.
22nd May 2020, 3:03 PM
Oh Boi!
Oh Boi! - avatar
+ 1
I tried to put it through the inbuilt code editor here.Did not find a way,when i tap the + button to insert code it takes me to other peoples code here.im new to this app.can u tell me how to do it?
22nd May 2020, 6:15 PM
Oh Boi!
Oh Boi! - avatar
0
Why do you do not show your code here on the sololearn playground?
22nd May 2020, 3:26 PM
JaScript
JaScript - avatar
0
Show me your code for help you. Its hard this form.
22nd May 2020, 10:42 PM
Josshual A. Toro M.
Josshual A. Toro M. - avatar