1<div class="myDiv">
2 <h2>This is a heading in a div element</h2>
3 <p>This is some text in a div element.</p>
4</div>
5
1<div id='number1' class='model'>
2 <h2>Number 1:</h2>
3 <h3>Divs</h3>
4 <p>
5 Div's are great to split up and shape your website, they can be
6 modified my css, interact with js and more.
7 </p>
8 <!-- Eny regular html code can be put in divs, multiple classes
9 can be put in divs. Yet divs can only have 1 id. Divs are so useful!-->
10</div>
11<!-- Hope This Helped! -->
1The <div> tag is nothing more than a container unit that encapsulates other page elements and divides the HTML document into sections.
2 The div can be used for reading purposes or to nest all the information inside the div then to style the div through css as a background card.