div tag in html meaning code example
Example 1: div tag in html
<body>
<div class="no1" id="try to skip if you are new!">
<h1>Lets Sign</h1>
</div>
<div class="no2">
<p>lalalalalalalalalalalalal</p>
</div>
<div class="no3">
<p>bla bla bla bla</p>
</div>
</body>
Example 2: div html
<div style="background-color:lightblue">
<h3>This is a heading</h3>
<p>This is a paragraph.</p>
</div>
Example 3: html div tag
<div></div>