Computer Science, asked by shanvisrivastva, 5 months ago

How do you add a background color for all elements?

Answers

Answered by akanksha2614
4

Answer:

To set the background color in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <body> tag, with the CSS property background-color. HTML5 do not support the <body> tag bgcolor attribute, so the CSS style is used to add background color.

Answered by barunmahata805
0

Answer:

write two low of reation

Similar questions