Divs Vs Table for styled data\
-
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.
-
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>
-
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Structured data: Product vs auto rental schema?
Hi mozzers, If you are rental company, is it useful to add both the product and auto rental schemas or auto rental schema on its own should just be enough? Finally, on the auto rental schema, you have to add an address. Could we just add a city instead of an entire address and avoid receiving a warning message on the strutured data testing tool? Thank you.
Intermediate & Advanced SEO | | Ty19860 -
Rel-canonical vs Href-lang use for an international website.
I have a multi-country website that uses country subfolders to separate countries. When I run a Moz scan, I am getting canonical related alerts (this is probably related to some of our US content being duplicated on the other country websites). Shouldn't I be using href-lang instead since I am telling search engines that a certain article in country B, is just a copy of the same article in country A?
Intermediate & Advanced SEO | | marshdigitalmarketing0 -
Best Permalinks for SEO - Custom structure vs Postname
Good Morning Moz peeps, I am new to this but intending on starting off right! I have heard a wealth of advice that the "post name" permalink structure is the best one to go with however... i am wondering about a "custom structure" combing the "post name" following the below example structure: Www.professionalwarrior.com/bodybuilding/%postname/ Where "professional" and "bodybuilding" is my focus/theme/keywords of my blog that i want ranked. Thanks a mill, RO
Intermediate & Advanced SEO | | RawkingOut0 -
Is adwords data in organic ranking relevant?
we have noticed that without our adwords, our bounce rate is about half (outstanding rate) as compared to when we enable adwords (relatively bad). This of course amplifies across the board for other engagement metrics. So basically it looks like our website is not deemed too relevant and engaging when we bring in PC as compared to organic views. Does anyone have information if the search engines use this data without correcting out the PC visitors brought through adwords? this would mean to us that without having adwords we have a much better chance of ranking organically. very curious about what your experiences are as experts! Thank you in advance! Cheers, Nima
Intermediate & Advanced SEO | | TVape0 -
Automated Statistical Data Unique Enough?
I have many pages that will soon have a lot of statistical data (real estate related). Each page represents a neighborhood, and the stats will be unique for each neighborhood. However, the stats follow a pattern on all pages: Nr o Sales year-to-date, Median Sales Price etc etc. It is great value to users, but I wonder if such pattern of similar types of calculations (though unique results for each neighborhood) across many pages will potentially be seen as lacking uniqueness as it all pages follow a similar pattern and sentence structure (Nr of Sales year-to-date, Median Sales Price etc). Adding to this, these statistics will be the only stuff that is truly unique content on these pages.
Intermediate & Advanced SEO | | khi50 -
Outbound link to PDF vs outbound link to page
If you're trying to create a site which is an information hub, obviously linking out to authoritative sites is a good idea. However, does linking to a PDF have the same effect? e.g Linking to Google's SEO starter guide PDF, as opposed to linking to a google article on SEO. Thanks!
Intermediate & Advanced SEO | | underscorelive0 -
Does Google Index an Alert Div w/Delayed Hide
We have a div at the top of a client's the page that displays an alert to the user. After 30 seconds it is rendered hidden. Does Google index this? Does Google take this into account when it ranks the page?
Intermediate & Advanced SEO | | WEOMedia0 -
Strange Linking Data in Webmaster Tools
I run a site that was a Wordpress blog with Edirectory software for a directory on the back end. I've scrapped the Edirectory and built the entire site on Wordpress. After the site change I'm seeing about 700 404 Not Found crawling errors, which appear to be old Edirectory pages that no longer exist. My understanding is that they'll cycle out eventually. What troubles me is the linking data I'm seeing. In the "Links to My Site" area of Webmaster tools, I'm seeing 4,430 links to the "About" page, another 2,900 to an obscure deleted directory listing page and only 2,050 to the home page. I show 1,700 links to a terms and conditions pdf and other strange data. To summarize, I'm showing huge numbers of links to obscure pages. Any help would be greatly appreciated.
Intermediate & Advanced SEO | | JSOC0