![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
What are differences between DIV and SPAN?
asked by: silveryayu on: Feb 27, 2009
Best Answer ! ! !
DIV is a HTML tag in advance. Genarally we use table & div tag for the loyout. If we use table tag, the site will take lot of time to load, but use of DIV tag is quick & Advance. Especially in search engine, we should use Div tag to load easy. It has attributes, position and all other feature like table tag. Nowadays everybody prefers DIV tag for quick loading.
here
DIV and Span is using same purpose but the syntax is different
we are using both for hiding the content.
lambo_san answered on£ºMar 1, 2009 0 comments 
allaboutyou answered on£ºMar 3, 2009 0 comments
DIV is a HTML tag in advance. Genarally we use table & div tag for the loyout. If we use table tag the site will take lot of time to load but use of DIV tag is quick & Advance. Especially in search engine we should use Div tag to load easy. It has attributes position and all other feature like table tag. Nowadays everybody prefers DIV tag for quick loading.
ichigolover answered on£ºMar 4, 2009 0 comments
Div is a Container where we can place our data image text or anything and span is used for formating.
lanceg answered on£ºMar 6, 2009 0 comments