HTML

Block-Level Element

In HTML, a block-level element refers to an element that renders on a new line, denoting a 'block' of content. Some examples of inline elements are <p>, <div>, <section>, <article>, and so on.

The opposite of block-level elements are inline elements, which essentially render on the same line (hence the name 'inline'). In general, block-level elements can contain inline elements but it's not the other way around.

Discussed on

External resources