Computer Science, asked by advay24, 11 months ago

what is the difference between BGcolor and background attributes of body tag​

Answers

Answered by spsharvesh2008
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