Question · HTML and CSS course · Module 3: CSS Basics

Element Background in CSS

Which CSS property is used to set the background of an element?

Answer options

  • color
  • background
  • bg-color
  • fill

You can check the correct answer by solving this task in the CodeWorlds game.