what is the difference between bgcolor and background attribute of body tag
Answers
Answered by
6
answers is The main difference is that bgcolor is an attribute used in the HTML document while background-color is a CSS property, used inside a declarations block within a CSS rule. Another difference is that bgcolor doesn't accept rgba () colors as value. There might be other differences, but the use of styling through HTML attributes is highly discouraged
Similar questions
Science,
8 months ago
English,
8 months ago
Math,
1 year ago
Math,
1 year ago
India Languages,
1 year ago
CBSE BOARD XII,
1 year ago
Science,
1 year ago