Which CSS property is used to set the background color of an element?Optionscolor-backgroundbackground-colorbg colorbg-color
Question
Which CSS property is used to set the background color of an element?Optionscolor-backgroundbackground-colorbg colorbg-color
Solution
The CSS property used to set the background color of an element is "background-color".
Similar Questions
Which CSS property is used to set the background image of an element?background-imagebackgroundimage-urlbackground-url
Which CSS property is used to change the text color of an element?Optionstext-colorcolortext-fillfont-color
Which CSS property is used to change the text color of an element?font-colortext-colorcolorfgcolor
Which property is used to change the text color of an element?A. colorB. text-styleC. font-colorD. text-color
What is the correct way to add a background color to an HTML element using inline CSS?Options<div style="background-color: red;"><element color="red;"><bgcolor="red;"><style background-color="red;">
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.