49.0k views
2 votes
What is the correct HTML for adding a background color?

Question 7 options:


< background>yellow


< body background-color=yellow>


< body bg="yellow">


< body>

1 Answer

3 votes

Answer:

< body background-color=yellow>

Step-by-step explanation:

This is the correct HTML command that is used for adding a background color of choice.

User Sudhanshu Umalkar
by
5.0k points