How to add a background color in HTML? *
Answers
Answered by
2
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 toadd background color.
Answered by
14
Answer:
To set the background colour in HTML,use the style attribute. The style attribute specifies an inline style for an element. The attribute is use with the HTML>body< tag, with the CSS property background colour. HTML5 do not support the >body< tag background colour attribute, so the CSS style is use to add background colour
Hope u like it!!!
Have a happy day!!!
See u soon!!!
Similar questions
Social Sciences,
1 month ago
Social Sciences,
1 month ago
English,
3 months ago
Science,
3 months ago
English,
9 months ago
English,
9 months ago