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
Hindi,
6 months ago
Science,
6 months ago
Social Sciences,
6 months ago
Math,
11 months ago
Math,
11 months ago
India Languages,
1 year ago
CBSE BOARD XII,
1 year ago
Science,
1 year ago