In HTML two types of tag inline and block type tag like a div tag is block type tag and span is inline tag the follow both example.
The div tag is block type HTML tag the folowing example of div tag.
<div>
-
-
<!-- HTML Code Here..-->
-
-
</div>
<div>
<h1>This is Heading</h1>
<p>
This is some dummy content for understanding..
</p>
</div>