Put in order · HTML and CSS course · Module 3: CSS Basics
Display Value Hierarchy
Arrange the display values from an element that takes no space to one that takes the full width of its parent:
Items to put in order
- display: block (full container width)
- display: none (element hidden)
- display: inline-block (side by side, with dimensions)
- display: inline (side by side, no dimensions)
You can check the correct answer by solving this task in the CodeWorlds game.