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

A non-inherited property

Which of the following properties is NOT inherited by default?

Answer options

  • font-family
  • color
  • border
  • line-height

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