The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Divs Vs Table for styled data\

    Divs Vs Table for styled data\

    Intermediate & Advanced SEO
    3 3 297
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • OlivierChateau
      OlivierChateau last edited by

      Hello,

      We're in the process of launching MultipleSclerosis.net and are a bit confused with how to present some specific information.

      Looking at pages such as http://multiplesclerosis.net/symptoms/, http://multiplesclerosis.net/what-is-ms/courses-patterns/ and http://multiplesclerosis.net/treatment/prescription-nonprescription-medications/ is it better to keep this data structured as divs, and style them as tables or to keep them as tables and style them accordingly.

      Though not technically "tabular" data, i'm not too sure how to handle this. The text to code ratio is quite high with the divs in the markup, which though i'm not overly worried about, it could cause some issues with the site's indexability.

      Thanks I appreciate any feedback.

      1 Reply Last reply Reply Quote 0
      • Marcus_Miller
        Marcus_Miller last edited by

        Hey Oliver

        Looking at those tables I can't see that you would have any problems with how you have done it. We do have a lot of mark up but it is all seemingly well structured with divs, unordered lists, list items etc.

        I certainly would not worry about it in this case.

        Marcus

        1 Reply Last reply Reply Quote 1
        • Ben_Alvord
          Ben_Alvord last edited by

          My opinion would be that DIV-based markup is the better choice here.  As you said yourself, it's not really tabular data, so in using DIVs you can use semantic markup which is a positive for SEO.

          You could improve/cleanup the markup of that data though, by:

          • Use

            ,

            ,

            tags.  Even the bolded text in the lefthand column are basically headers for the text in the righthand column.

          • You should remove the empty class="hr">tags, which I assume are in there to create the horizontal lines.  It's nit picky, as if you remove them, you'll need to add a 'wrapper DIV' surrounding each row, so you won't really be cutting down on the code used that much.  But having empty tags that are only there for presentation purposes is generally frowned upon.  You could create the same visual effect by using a border or by using a background image (if you want the line to not fully extend across the row).

          That's all pretty nitpicky coding stuff though.  For SEO purposes, I think the only thing that might have an affect is using the <hx>tags.</hx>

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Structured data: Product vs auto rental schema?
            effectdigital
            effectdigital
            0
            2
            611

          • Subdomains vs. Subfolders vs. New Site
            max.favilli
            max.favilli
            0
            2
            101

          • H Tags Vs "H Style" Tags?
            HashtagHustler
            HashtagHustler
            0
            7
            237

          • Constructing the perfect META Title - Ranking vs CTR vs Search Volume
            David-Kley
            David-Kley
            1
            12
            629

          • Avoiding Duplicate Content with Used Car Listings Database: Robots.txt vs Noindex vs Hash URLs (Help!)
            Everett
            Everett
            0
            10
            2.0k

          • Wordpress Config Thoughts: Multisite vs. Parent/Child Themes vs. Infinite WP?
            0
            1
            811

          • Website Is In Tables
            DerekM88
            DerekM88
            0
            4
            750

          • Robots.txt: Link Juice vs. Crawl Budget vs. Content 'Depth'
            rishil
            rishil
            0
            5
            1.5k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy