Developers use the HTML div tag to create a various section of a web page. The div tag can hold other elements and sections in it. We can also hold the direct text in it, except the one that is used in it.

The syntax for div tag is as follows:

<div>...</div>

BY Best Interview Question ON 12 Mar 2020

Example