What is the meaning of <div> </div> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
28th Feb 2018, 9:13 PM
Hani
Hani - avatar
4 Answers
+ 9
div is like a box that holds web code.
28th Feb 2018, 9:34 PM
Manual
Manual - avatar
+ 8
The HTML Content Division element (<div>) is the generic container for flow content. It has no effect on the content or layout until styled using CSS. As a "pure" container, the <div> element does not inherently represent anything. Instead, it's used to group content so it can be easily styled using the class or id attributes, marking a section of a document as being written in a different language (using the lang attribute), and so on.
22nd May 2018, 9:51 AM
Hani
Hani - avatar
+ 2
Officially the <div> tag defines a division or a section in an HTML document. However it is used as an “all purpose” tag to group block elements that will later to be styled with CSS.
1st Mar 2018, 4:07 AM
Erick O
Erick O - avatar
+ 1
The HTML Content Division element (<div>) is the generic container for flow content. It has no effect on the content or layout until styled using CSS. As a "pure" container, the <div> element does not inherently represent anything. Instead, it's used to group content so it can be easily styled using the class or id attributes, marking a section of a document as being written in a different language (using the lang attribute), and so on.
2nd Mar 2018, 12:07 AM
Josimov Dejan
Josimov Dejan - avatar