what is div tag in html and how to use it 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: what is div in html
<div>
<!-- This is opening of a division tag-->
</div>