Div tag is used to define a logical section in HTML. With div tag you can group large sections together and format them with the help of CSS. Now div tag is mainly used with CSS to create the layouts of an HTML page. Div tags are the best alternatives for the tables to create layouts.

World Wide Web Consortium (W3C) recommends the use of divs over tables. If you want to meet the w3c accessibility guidelines you need to use DIVs.

DIV is broadly used in the designing but at the same time you can use it in the CSS also. Basically it is used for making the sections in the pages of the website and giving the partition to the contain of the page.

We can divide different areas of web page using div tags. This is a powerful tool and for different applications.
It helps in the maintenance of your site apart from systematizing its contents and as decrease in the ratio of code to content, the web crawlers would be able to find your site’s content pretty easily.

There can be divided into different areas of the web page for the div tag. This is a powerful tool and a variety of applications. DIV is widely used in design, but at the same time, you can also use CSS. Div tags are the best options for the tables to create layouts.

- The div tag in XHTML is a tag that defines logical divisions within the content of a page.
- The div tag defines a division or a section in an HTML document.
- The div tag is often used to group block-elements to format them with styles.

Div tag is used to define a logical section in HTML. With div tag you can group large sections together and format them with the help of CSS. Now div tag is mainly used with CSS to create the layouts of an HTML page. Div tags are the best alternatives for the tables to create layouts.

The tag is nothing over a container for other tags. Much like the body tag, Div elements are block elements & work behind the scenes grouping other tags together. Use only the following attributes together with your div element, anything else ought to be reserved for CSS.