How do I set a background color for a specific width? HTML5 do not support the tag bgcolor attribute, so the CSS style is used to add background color. Do I have to open another notepad or join the styling to my HTML? Home; CCC; Tally; GK in Hindi Study Material HTML MCQ - English . Should I put this under the images in my HTML website? To set the background color in HTML, use the style attribute. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews. Thanks to all authors for creating a page that has been read 1,356,723 times. question asked in HTML Knowledge Book 1 Web Development exam with options - yellow , , , Add the body element. - 18197674 To set the background color in HTML, use the style attribute. What is the correct HTML for adding a background color? Options - body background=”yellow”> - background>yellow backgound> - . It will override any style set in the HTML