what do divs do in html code example
Example 1: divs html
<div>hello there i am a div
<h1>i am h1 in div</h1>
<h2> i h2 in div</h2>
</div>
Example 2: html div tag
<div></div>
<div>hello there i am a div
<h1>i am h1 in div</h1>
<h2> i h2 in div</h2>
</div>
<div></div>