Web technologies Questions | HTML Course | Practice Quiz 1 | Question 15

Which of the following is the correct way to add background color in HTML?
(A) <body color = “green”>
(B) <body bg-color = “green”>
(C) <body style = “background-color=green”>
(D) <body style = “background-color: green;”>

Answer: (D)


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.