1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

div vs table

Discussion in 'HTML & Website Design' started by bilalpakistani, Jun 17, 2012.

  1. #1
    We can design a website using table tag..
    why use Divisions?
    SEMrush
     
    bilalpakistani, Jun 17, 2012 IP
    SEMrush
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    There are many reasons to not use tables for layout. To understand most of them you need to know enough that you wouldn't ask the question in the first place. SEO is probably among the most important, though.
     
    Rukbat, Jun 17, 2012 IP
  3. rainat

    rainat Member

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Not only for SEO, Using divison make your source code looks professional
     
    rainat, Jun 17, 2012 IP
  4. bilalpakistani

    bilalpakistani Member

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    Only for professional look , we use div s?
    A single table, can make a whole professional looking website..

    xurst.info
    check this, it is only table based design
     
    bilalpakistani, Jun 17, 2012 IP
  5. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #5
    Not to a professional. To a professional, a site using tables for layout is inherently non-professional and sloppy.
     
    Rukbat, Jun 17, 2012 IP
  6. wiicker95

    wiicker95 Well-Known Member

    Messages:
    438
    Likes Received:
    37
    Best Answers:
    10
    Trophy Points:
    100
    #6
    It's not a question of professionality, because even some experienced developpers still use tables for layouts, because they are used to it. However, the standards change. Today, though, tables are reserved for tabular data ONLY, and are considered as depricated in layouts other than the tabular ones.
    I know you're new to coding, so using tables for styling doesn't make any sense. And what's so complicated with divs? If you master CSS, there's no problem with divs.
    And yet, I didn't even mention the SEO, google page ranking, etc.
     
    wiicker95, Jun 17, 2012 IP
  7. NathanCH

    NathanCH Well-Known Member

    Messages:
    806
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    110
    #7
    I would recommend neither divs or tables. Instead, use span class for all the things.
     
    NathanCH, Jun 17, 2012 IP
  8. wiicker95

    wiicker95 Well-Known Member

    Messages:
    438
    Likes Received:
    37
    Best Answers:
    10
    Trophy Points:
    100
    #8
    What are you talking about??? Span is used to style text... :confused:
     
    wiicker95, Jun 17, 2012 IP
  9. NathanCH

    NathanCH Well-Known Member

    Messages:
    806
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    110
    #9
    This is news to me. I've been using span for more than 30 years without problems. It's standard where I come from!
     
    NathanCH, Jun 17, 2012 IP
  10. traxport121

    traxport121 Active Member

    Messages:
    1,201
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    63
    #10
    I would recommend division since it makes the code "clean" and give the website a professional look. Also it is very good for SEO practices.
     
    traxport121, Jun 17, 2012 IP
  11. cons1t

    cons1t Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #11
    perhaps it's becuase tables are meant to be used to layout tabular info, like Excel......
     
    cons1t, Jun 17, 2012 IP
  12. Emitstop

    Emitstop Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #12
    What are you talking about? Span is not a tag.

    Wrap everything in <color> tags for optimal page load.
     
    Emitstop, Jun 17, 2012 IP
  13. jaypeegreens

    jaypeegreens Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    According to my point of view div base webstie desige is light in weight where as not in table base layout ..........cheers
     
    jaypeegreens, Jun 18, 2012 IP
  14. MarkTheUser

    MarkTheUser Member

    Messages:
    206
    Likes Received:
    0
    Best Answers:
    4
    Trophy Points:
    26
    #14
    Solved!

    Do not use tables unless you are really making a table. For everything else use divs.
     
    MarkTheUser, Jun 18, 2012 IP
  15. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #15
    Since when? It's still a tag in HTML5 and no one has proposed HTML6 yet.
    <color> is not a tag.
     
    Rukbat, Jun 18, 2012 IP
  16. traxport121

    traxport121 Active Member

    Messages:
    1,201
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    63
    #16
    I totally agree with Rukbat ... <span> is still and a tag.. and I did a little searching but I couldn't find the tag <color>... I think it doesn't exist...! Are you using the <color> tag in worpdress?
     
    traxport121, Jun 18, 2012 IP
  17. wiicker95

    wiicker95 Well-Known Member

    Messages:
    438
    Likes Received:
    37
    Best Answers:
    10
    Trophy Points:
    100
    #17
    Don't you see he's jerking with us??
     
    wiicker95, Jun 18, 2012 IP
  18. traxport121

    traxport121 Active Member

    Messages:
    1,201
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    63
    #18
    I totally agree :/
     
    traxport121, Jun 18, 2012 IP
  19. tasha_h

    tasha_h Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Tables existed in HTML for one reason: To display tabular data! Not to design websites with
     
    tasha_h, Jun 20, 2012 IP
  20. hirenrathod39

    hirenrathod39 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Division is better...
     
    hirenrathod39, Jun 20, 2012 IP