What is a Div?
The <div> tag is a container used to group HTML elements together. By using classes, we can style these groups differently using CSS.
In this example, this white box is a division separated from the blue header.
Building layouts with HTML Divs
The <div> tag is a container used to group HTML elements together. By using classes, we can style these groups differently using CSS.
In this example, this white box is a division separated from the blue header.