Computer Science, asked by riya1998mishra, 1 year ago

what is the difference between bgcolor and background colour in html languge

Answers

Answered by Nereida
1
\huge\boxed{\texttt{\fcolorbox{purple}{yellow}{Heya Guys!!!}}}



BGCOLOR is used to set background color of webpage whereas background is used for adding an image as abackground for webpage. Background-color is used in CSS code or in styletag. e.g.- <body style="background-color:red;">. Bgcolor is used directly as an attribute of any tag in html.



HOPE IT HELPS


#nks23❤
@bebrainly

Mark BRAINLIEST and follow me also click THANKS...
Answered by abhijeetpandey103
1
heyyy

background color is used to set the background image for the web page

and bgcolor is used to set the background color for the entire web page

hope it will help you

abhijeetpandey103: mark as brainlist
Similar questions