Put in order · HTML and CSS course · Module 3: CSS Basics

Direction of inheritance

Arrange the elements from the one passing styles down to the one inheriting them:

Items to put in order

  • div (intermediate container)
  • body (top-level parent)
  • p (child element)

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