Task 1: Display Property Comparison

1. Display: Block

Blocks take 100% width and force a new line.

Block Box 1
Block Box 2

2. Display: Inline

Inline elements stay side-by-side but ignore width/height.

Inline 1 Inline 2

3. Display: Inline-Block

Side-by-side like Inline, but respects width/height like Block.

IB Box 1
IB Box 2