what is the difference between BGCOLOR and BACKGROUND attribute of the <BODY> tag ?
Answers
Answered by
48
Bgcolor is for the whole HTML document whereas background is for a single HTML page.
It is used to establish the the background color of an paragraph, table or any HTML which is recommended the moderate usage of this tag.
With the help of CSS, it can establish the text styles or links.
Answered by
72
BG colour
this attribute is used to change the background colour of the Web page
.
background
this attribute is used to set the background image of the page by specifying the path and name of any image file
this attribute is used to change the background colour of the Web page
.
background
this attribute is used to set the background image of the page by specifying the path and name of any image file
Similar questions