+ 4

What is the use of <div> tag??

29th Nov 2016, 4:05 PM
Rudransh Joshi
Rudransh Joshi - avatar
2 Answers
+ 3
Divisions. Div's are used to define 'virtual fences' around related content--blocks--including additional div's, and tend to be used for static and dynamic positioning, applying styles, etc.
29th Nov 2016, 4:40 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
The <div> tag defines a division or a section in an HTML document. The <div> tag is used to group block-elements to format them with CSS. ... Tip: The <div> element is very often used together with CSS, to layout a web page.
29th Nov 2016, 5:20 PM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar