The HTML <div>
tag is used to defines a division or a section in an HTML document and group the large section of HTML elements together.
<div>
tag is just like a container unit which is used to encapsulate other page elements and divides the HTML documents into sections.
See this example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of Div tag</title>
</head>
<body>
<div style="font-size:18px;border:1px solid #11a286;padding:15px;background:#e2f9f5">
<p>This is a paragraph.</p>
<p>This is a another paragraph</p>
</div>
</body>
</html>