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

Hiding Elements with CSS

Which CSS declaration completely hides an element on the page, as if it doesn't exist in the document?

Answer options

  • visibility: hidden
  • opacity: 0
  • display: none
  • color: transparent

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