0
What is the use of <div
8
9 Respostas
+ 7
divide the document into two section..we use div elements to group together html elements and apply CSS styles to many elements at once.
+ 6
A block-level container
In other words, can contain paragraphes, tables, images, texts, videos, other divs, etc
+ 2
let's say you wanted the left side of the page to be pictures and the right words, you would use two div tags. one for pictures, one for tags then head into css to align them properly
+ 1
it's just to DIVide things into DIVisions. I probably over use the tag alot when writing larger websites
+ 1
Pretend for a moment: you have a webpage, and you would like to create a section at the top that has various icons and links, with a different color to distinguish it from the rest of the page. A div would be perfect for this, because you can use it to contain all of these icons and links, and use CSS styling elements to change the background color.
+ 1
it is simply a grouping element. you can group one or more elements within it.
0
is use in html for tagging
0
thanks alot
- 1
I still misunderstand