View Single Post
Old 12-13-2012, 03:05 AM   #14
jaysh4922
Registered User
 
Join Date: Dec 2012
Posts: 657
It defines a division or a section in an HTML document
It is used to group block-elements to format them with CSS
DIV tags are lighter than tables so, DIV tags are used more frequently in PHP to load faster
Using DIV tags is useful for formatting whatever content is within the DIV tag
DIV tag is used to create and structure an HTML document or layout
Generally you use the div tag in HTML, not in PHP. PHP is an executable language, not markup but DIV is a markup tag
jaysh4922 is offline   Reply With Quote