<div> tag is used to define a section in an HTML document. It can be used to group large section of HTML elements together and format them with cascading style sheet.
The closing tag </div> is used to indicate the end of section.
Here is the breakdown of HTML Div
Below example will demonstrate the basic architecture of HTML Div.
<!doctype html> <html> <head> <title>Div Example</title> </head> <body> <div id="testing"> <h3>PHPDocs</h3> </div> </body> </html>