Block
noun
say it: “BLOK” /blɒk/
An element that starts on a new line and stretches across the full width available, like a paragraph or div.
What is a block element in CSS?
A block element starts on a new line and stretches the full width available, like <div>, <p> and <h1>.
span.tag { display: block; } /* now each tag sits on its own line */
In a sentence
- “A div is a block element, so each one starts on its own line.”
Level: Novice · More CSS terms at this level
Updated