Divs and Spans Example

This is inside a div

Divs are block-level elements that take up the full width.

Another div section

Each div starts on a new line.

This paragraph contains a span element which is inline.

Spans are used for styling parts of text within other elements.

You can mix divs and spans together.

Divs group content, spans target specific text.