How can you change the background color of webpage?
Answers
Answered by
1
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
0
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.
Similar questions
English,
1 month ago
English,
1 month ago
Environmental Sciences,
3 months ago
Computer Science,
3 months ago
Social Sciences,
9 months ago