+ 1

When i will use bgcolor and when background-color ?

7th Dec 2016, 11:38 AM
Nobin khan
Nobin khan - avatar
2 ответов
+ 1
The attribute bgcolor of body, as far as I know, is not used anymore. Use background-color or background on CSS instead: element { background: #FFF; }
7th Dec 2016, 12:19 PM
Gleb Golov
Gleb Golov - avatar
0
Also you can use css background-color in html. for example : <div style:'background-color:#FFF'></div>
18th Dec 2016, 12:32 AM
Кристина Беляева
Кристина Беляева - avatar