div defn in html code example
Example 1: what is div in html
<div>
<!-- This is opening of a division tag-->
</div>
Example 2: div in html
<div class="" id=""></div>
<div>
<!-- This is opening of a division tag-->
</div>
<div class="" id=""></div>