yasinfaruk — 2013-01-26T22:09:08-05:00 — #1
Why, when, where we use "div" tag in html ?
fuzestudios — 2013-01-26T23:51:09-05:00 — #2
Div tags are basically used to make content saperate from one and other. Before, that it was table which developers use to make a website. You can search on Google for details.
ralphm — 2013-01-27T02:29:01-05:00 — #3
Examples: you might want a sidebar, with various content, so you'd wrap it in a div, give it a width and float it left or right. You would wrap all of the main content in a div, give it a width and float it in the other direction. You might also have a footer section with various things in it, so wrap that all in a div.
michael_morris1 — 2013-01-28T09:48:06-05:00 — #4
Div is the default block level element. It's partner, span, is the default inline element. Both of them are used when something else isn't more semantically appropriate.
gifts — 2013-02-08T05:19:23-05:00 — #5
Div tag is generally used when we have divide a webpage into different sections.