WDD Learning Modules

htmlinlineblockcentering

Block and Inline Elements

Description

Each element has a default display value of either a block or an inline element. They behave differently and it is very helpful to understand each one as we begin laying out and center elements on our pages.

Where this knowledge is utilized

Prepare

The following video introduces the difference between block, inline, and inline-block elements and how you might center them easily.

Block vs. Inline Elements

Ponder