Question d’entretien chez Dhee Coding Lab

What is the difference between block, inline, and inline-block elements?

Réponse à la question d'entretien

Utilisateur anonyme

4 mars 2026

Block elements take up the full width available and always start on a new line. That means even if there is space next to them, they won’t sit beside another element.