What is the difference between div and table?

Discussion in 'HTML & Website Design' started by Cuekal, Dec 4, 2010.

  1. #1
    Hello Friends,

    I am new of web design field please tell me What is the difference between div and table?

    Thanks in Advance
     
    Cuekal, Dec 4, 2010 IP
  2. yanaveis

    yanaveis Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Tables are still quite acceptable for displaying layout elements that are in a tabular layout format, and in fact can be better than divs with such
    layout. However, divs are more flexible for the same reason – they do not restrict the layout to tabular format. Instead, a div is like a “floating
    box” that can be positioned anywhere you want.
     
    yanaveis, Aug 27, 2011 IP
  3. weknowonlinemarketing

    weknowonlinemarketing Peon

    Messages:
    681
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Div (division) is floating type that breaks a web page into a smaller parts. It can be nested to divide sections into a few columns that present information separately but side-by-side. Table is created to display mainly TEXT and in fewer cases images also. Table is much more complex than the DIV which allows designers to make the web page more dynamic.
     
    weknowonlinemarketing, Aug 29, 2011 IP
  4. asif_17

    asif_17 Member

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #4
    I just know that div is more useful then tables.
     
    asif_17, Aug 29, 2011 IP
  5. R3vProxy

    R3vProxy Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    @ asif_17
    Div and tables both have there pros and cons...
     
    R3vProxy, Aug 31, 2011 IP