Which is best Div or table?

11 replies
  • WEB DESIGN
  • |
Hi,

Which is best way div or table?

Thanks
WE
#div #table
  • Profile picture of the author IMdude123
    div is better. apparently tables aren't very good for SEO.
    {{ DiscussionBoard.errors[5163123].message }}
  • Profile picture of the author Jason Z
    Tables are the old way of building websites and are frowned upon these days.

    You want to build websites with divs as your main block elements and style them with css to make them do what you want.

    Tables really should only be used if you are creating a table of data within a page.
    Signature
    Co-Founder of the Local Profit Model Training Program for Offline Consultants

    Jason Zimmerman is an offline marketing and consulting professional. He has been developing web sites and digital marketing plans for local businesses since 2000.
    {{ DiscussionBoard.errors[5163994].message }}
  • Profile picture of the author capripio
    For me Div is better if you make website layouts when you make form kind stuff like contact or login form I use table
    {{ DiscussionBoard.errors[5165825].message }}
  • Profile picture of the author tuanng
    table is the old method, div is the modern method with more flexibility, cleaner code, better for SEO. If you are comfortable with div/css, use div.
    Signature

    Need 3D ebook covers right NOW? Make your own at myecovermaker.com

    {{ DiscussionBoard.errors[5166182].message }}
    • Profile picture of the author ram07
      Originally Posted by tuanng View Post

      table is the old method, div is the modern method with more flexibility, cleaner code, better for SEO. If you are comfortable with div/css, use div.
      "Better for SEO", I don't know how it will be useful for SEO purpose? What will be the difference of using "DIV" and "<TABLE>" in SEO?

      I am a developer and not familiar in SEO, So please any one replay for this.

      Thanks.
      {{ DiscussionBoard.errors[5166509].message }}
      • Profile picture of the author BRAIN_PAIN
        Originally Posted by ram07 View Post

        "Better for SEO", I don't know how it will be useful for SEO purpose? What will be the difference of using "DIV" and "<TABLE>" in SEO?

        I am a developer and not familiar in SEO, So please any one replay for this.

        Thanks.
        So here is what I have red on the topic in one seo blog - importantseotips at blogspot.

        1. Div Loads faster than Tables

        2. Tables can be inflexible

        3. Accessibility issues are easier with DIV

        4. Tables don't print as well

        5. Div is great for SEO - powerful to do content positioning. So basically you can place the bulk of your rich content closer to the top of your HTML code, but it will still render on the browser in the same place

        6. DIVs can reduce the size of page - Use of DIVs and CSS can allow you to reduce the size of your HTML significantly, depending on how nested your tables are. TABLE tags require, TR, TD, and some cases include, TH, THEAD, TBODY, TFOOT. This adds quite a few tags that can all be condensed into a few DIVs.

        I think that the author of these 6 points is right and he have some arguments in favor of DIV's for SEO.

        DIV's are the better thing to go. Tables are long forgotten.

        If you want to be a modern developer and make efficient websites - use DIVs.
        {{ DiscussionBoard.errors[5166634].message }}
  • Profile picture of the author aeroturner
    Using div is best for creating site layout, remodelling a whole site can be done easier when u desire to do so.. sometimes u can use tables when u are forced to do at certain part..other than that div (css) is more effective
    Signature
    {{ DiscussionBoard.errors[5166239].message }}
  • Profile picture of the author Kyle Oliveiro
    No one uses tables nowadays. Divs are the way to go.
    {{ DiscussionBoard.errors[5166577].message }}
  • Profile picture of the author dimazgyba
    div is good and seo friendly, make your site load faster
    {{ DiscussionBoard.errors[5167251].message }}
    • Profile picture of the author webexperts666
      Originally Posted by dimazgyba View Post

      div is good and seo friendly, make your site load faster
      Hi I think you are div is good but little bit difficult to handle. Table can be easily handle.
      {{ DiscussionBoard.errors[5169465].message }}
  • Profile picture of the author webexperts666
    Thanks for all the reply's
    {{ DiscussionBoard.errors[5169453].message }}
  • Profile picture of the author Istvan Horvath
    [DELETED]
    {{ DiscussionBoard.errors[5172037].message }}
  • Profile picture of the author Istvan Horvath
    [DELETED]
    {{ DiscussionBoard.errors[5172110].message }}
  • Profile picture of the author Istvan Horvath
    [DELETED]
    {{ DiscussionBoard.errors[5172121].message }}

Trending Topics