adplus-dvertising
frame-decoration

Question

What is the correct HTML for adding a background color?

a.

<body color=”yellow”>

b.

<body bgcolor=”yellow”>

c.

<background>yellow</background>

d.

<body background=”yellow”>

Posted under HTML

Answer: (b).<body bgcolor=”yellow”>

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the correct HTML for adding a background color?