+ 1

Is "bg-color"and background color are same attributes?

3rd May 2017, 7:28 PM
Debsankar Pal
Debsankar Pal - avatar
3 Answers
+ 6
Yes it does the same but it's not supported in HTML5, use background-color of CSS instead.
3rd May 2017, 7:44 PM
Ghauth Christians
Ghauth Christians - avatar
+ 6
"bgcolor" doesn't work in HTML5. So, use "background-color" CSS attribute.
4th May 2017, 4:08 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar