Computer Science, asked by navyanarula2397, 6 months ago

WHAT IS THE SELECTOR IN THE FOLLOWING HTML CODE GIVEN BELOW-

HR {background-color: red}

Answers

Answered by riddhima8
1

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. HTML5 do not support the <body> tag bgcolor attribute, so the CSS style is used to add background color.

Explanation:

hope it helps you

Similar questions