Computer Science, asked by dristi9867, 3 months ago

What is the HTML attribute for adding background color?​

Answers

Answered by shreyaskps09
0

Answer:

<body bgcolor="red">

-------------------------------

</body>

INSTEAD OF RED, YOU CAN PUT ANY OTHER COLOR OF YOUR CHOICE.

Explanation:

Answered by Anonymous
5

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.

Explanation:

@Ask The MASTER

Similar questions