Definition: Block elements take the full width of the page and always start on a new line.
Definition: Inline elements take only the required width and do not start on a new line.
This is inline text in a sentence.
| Feature | Block Elements | Inline Elements |
|---|---|---|
| Width | 100% (Full Width) | Auto (Only what's needed) |
| New Line | Always starts on a new line | Stays on the same line |
| Example | <div>, <p> |
<span>, <a> |