0

Why color of the background and the letter is not changed in this code.

https://code.sololearn.com/WE9SbhFDa0lS/?ref=app

30th Jun 2021, 4:56 AM
Anand Raj
Anand Raj - avatar
2 Answers
+ 1
<h1 style="background-color:blue; color:Red;"> • must be only one 'style' attribute per tag • each css property definition must end with a semicolon (last one is optional, but better practice to put it) • background-color not backgroundcolor
30th Jun 2021, 5:06 AM
visph
visph - avatar
0
Thanks visph
30th Jun 2021, 5:11 AM
Anand Raj
Anand Raj - avatar