Answers for "how to write div in html"

2

how to make a div in html

<div class="myDiv">
  <h2>This is a heading in a div element</h2>
  <p>This is some text in a div element.</p>
</div>
Posted by: Guest on August-05-2020
0

how to use div in html

<!-- You can add different attributes to a div tag -->
<div class="YEET">
  <h1>Heading</h1>
</div>
Posted by: Guest on September-01-2021

Browse Popular Code Answers by Language