27.
Which of the following HTML tags is used to add a background color to a specific section of a webpage?
<h1 style="bg-color: pink;">
<span bgcolor="green">
<section style="color: blue;">
<div style="background-color: blue;">
Correct: D
To add a background color to a specific section of a webpage, you would typically use the <div> tag with the style attribute, like <div style="background-color: blue;">. <section style="color: blue;"> sets the text color, not the background color. The bgcolor attribute is obsolete in HTML5, and the property bg-color is incorrect.