what is a div used foer code example
Example 1: what is div in html
<div>
<!-- This is opening of a division tag-->
</div>
Example 2: div html
<div style="background-color:lightblue">
<h3>This is a heading</h3>
<p>This is a paragraph.</p>
</div>