---
title: Block and Inline Elements
---
## Block and Inline Elements
Let us understand them using below examples:
#### Code Sample with Output :

#### Block-Level Element :
A Block-level element occupies the entire width of the parent (container) such as `
` and `
` in the example.
Note that both `
` and `
` start from a new line each time, forming a **block-like** structure. Block-level elements *always* begin on new lines.
Common **block-level elements** are `