# Divs

Divs are great to encapsulate content. Just like <section> <main> and <aside>. Do you want to have a heading, the body content, and a footer separated from one another? Divs are great for that. You would want to separate content with divs because that can help you style your divs differently.

<div>Heading</div>
<div>I am a paragraph. I can leave inside this div.</div>
<div>Footer</div>

Learning Divs

Heading 4

I am a paragraph inside this slide. Look at the way we're using divs to have our content. We can put as many divs as we want. However, a better approach would be to divide our content into tags that represent what we have to have there.

For this reason, many people prefer to use main, section, aside, and footer, and header.

Footer