adplus-dvertising
frame-decoration

Question

Which of the following property sets an element’s background color?

a.

background-image

b.

background-color

c.

background-colors

d.

background-position

Posted under CSS

Answer: (b).background-color

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following property sets an element’s background color?

Similar Questions

Discover Related MCQs

Q. Which of the following property defines the color of an element’s right border?

Q. Which of the following property defines the space between cells in a table?

Q. Which of the following property defines the visual style of up to four different sides of a border?

Q. Which of the following property defines in a shorthand form the width, style, and color for the top border of an element?

Q. Which of the following property sets the shadow for a box element?

Q. Which of the following property defines a shadow effect for text?

Q. Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?

Q. Which of the following property defines a color for the right and bottom edges of a scroll bar.

Q. Which of the following property sets list-style-type, list-style-position, and liststyle-image?

Q. Which of the following property specifies whether the labels for an element’s list items are positioned inside or outside the “box” defined by the listed item?

Q. Which of the following property defines in a shorthand form the width, style, and color for all four sides of an element’s border?

Q. Which of the following property defines in a shorthand form the width, style, and color for the left border of an element?

Q. Which of the following property is used to round border corners?

Q. Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

Q. Which of the following property sets the font face to be used for text?

Q. Which of the following property sets the font size of text?