Display: block

The display: block property in CSS renders an HTML element as a block-level element, meaning it takes up the entire width of its parent container. Block-level elements, such as paragraphs and divs, naturally stack vertically on the page.

Insights