+ 2
What is "div"?
3 ответов
+ 4
<div> is a generic container to handle other html elements ( often other <div>s :P )
It originaly stand for DIVision, as generic meaning... Html5 introduce <section>, <article>, <aside>... syntaxic tags equally as few less generic section and more semantical meaning, to avoid use of too many nested <div> and have a semantically better html structure.
<div> is the generic block type container to choose when no semantically built-in one is adapted, as <span> is for generic inline type. However, you can style any html element to reflect a completly different behaviour from its defaults ^^
+ 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.
0
division