+ 5
What is the meaning of <div> </div>
4 ответов
+ 9
div is like a box that holds web code.
+ 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.
+ 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.
+ 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.