157k views
5 votes
Which attribute of body tag helps to change the background colour



User Jiwopene
by
7.0k points

1 Answer

1 vote

Answer:bgcolor

Explanation: It's important to note that the "bgcolor" attribute is an older way of setting the background color and is not recommended for modern web development. Instead, it's preferable to use CSS (Cascading Style Sheets) to style the background color of elements on a webpage.

User Dirk Schumacher
by
8.0k points