+ 2

What is "div"?

15th Feb 2017, 4:11 AM
Ruth
Ruth - avatar
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 ^^
15th Feb 2017, 9:33 AM
visph
visph - 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.
15th Feb 2017, 4:20 AM
Raphael Bello
Raphael Bello - avatar
0
division
15th Feb 2017, 5:47 AM
Aswin anand cl
Aswin anand cl - avatar