HTML <div> Tag:
By using this tag we can design the webpage as multuple divisions. If you want to design the web page with a specific format we can go for div tag. It is a paired tag, it can hold multiple elements.
Syntax:
<div>-------------</div>
Attributes:
1 align 2 style
Example:
<body>
<div style="background-color:orange;width:100%;height:100">
<span style='color:blue;font-size:30'>Welcome to my site div1</span>
</div>
<div style='background-color:white;width:100%;height:100'>
<span style='color:blue;font-size:30'>Welcome to my site div2</span>
</div>
<div style='background-color:green;width:100%;height:100'>
<span style='color:blue;font-size:30'>Welcome to my site div3</span>
</div>
</body>