Explain it in 60 seconds
Block, inline and inline-block elements
Frontend Engineering · HTML and CSS · Beginner
What is the difference between block, inline and inline-block elements?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Block: new line, full width, width/height apply.
- Inline: flows in text, width/height ignored, vertical margins don't push.
- Inline-block: flows inline but respects width/height.
- display property changes behaviour.
- Examples: div, span, button.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.