what is the difference between BGcolor and background attributes of body tag
Answers
Answered by
8
Answer:
Difference between BGcolor and background attributes of body tag
Explanation:
BGCOLOR is used to set background color of webpage whereas background is used for adding an image as a background for webpage. Background-color is used in CSS code or in style tag. e.g.- <body style="background-color:red;">. Bgcolor is used directly as an attribute of any tag in html.
Similar questions
Political Science,
5 months ago
Social Sciences,
11 months ago
Hindi,
11 months ago
Biology,
1 year ago