How does badly formatted HTML affect SEO?
-
Our website uses a custom built CMS, but uses a fairly standard WYSIWYG text editor.
I've looked at some of the code it produces, and it's not pretty. My gut feeling tells me that this extra bloat is bad for SEO.
Am I right in thinking that Google doesn't look kindly upon badly formatted and bloated HTML?
Thanks,
James -
Great, thanks for the info. I always thought Google was really hot on compliance, but good to know there is a bit of leeway.
-
James, You might also want to look at the cached version of your page and then click on Text-only version and see if it shows up correctly. If it does, no need to worry from that perspective, but definitely worth checking from a usability, accessibility etc.
-
The main concern is whether or not the spider can read the HTML. If something's broken, the spider may get confused. It's a good idea to check the site's W3C compliance and correct what you can, but I'm certain the search engines don't ding you if you're not perfectly compliant.
The real problems with bad HTML are load times and cross-browser compatibility. (Although, frankly, great HTML can have cross-browser compatibility issues, since IE still refuses to get with the program.) Make sure the site looks good in all major browsers.
-
As long as the code produced is readable in a web browser then it being bloated shouldn't have much of an impact in terms of SEO. The code bloats only downside is that it might slow the page load which will have impact on SEO. Remember crawlers like Google bot essentially look at the page content in terms of textual content, what labels (alt tags etc), images and links are on there not how neatly it is presented or whether it is valid markup or not. I would take a look at your page speed otherwise I would worry as long as it is able to fulfil all the basic on page requirements such as headers, page titles etc.
Just to reiterate this - I have worked with CMS driven sites that aren't W3C compliant and don't produce the nicest html, but have loaded fast and ranked in the top 3 for competitive terms.
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
-
HTML or XML sitemap - benefits
Hi all, Can I use only HTML sitemap or I should use both versions?
Intermediate & Advanced SEO | | Tormar
How much I would lose in case when I would lose only HTML sitemap, without XML sitemap? Thank you.0 -
Volusion SEO
I have an SEO setting on our Volusion e-commerce store enabled, it is titled "Enable full URL for Home Page Canonical Link (include /default.asp)" I am questioning whether or not this should be enabled for optimal SEO performance. Can anyone provide any advice on this?
Intermediate & Advanced SEO | | PartyStore0 -
SEO Checklist for eCommerce?
Over the past week or so, my eCommerce site has experienced a large drop in organic traffic from Google.I have used analytics to determine that the pages that have seen the biggest losses in traffic are product pages. I know there are so many seo checklists/site audit checklists out there recommending different things, but does anyone have a good checklist (or link to a good checklist) that would fit our situation best? Thank you!
Intermediate & Advanced SEO | | Gordian0 -
What would your Seo tactic's be for this
Hiya guys... Just a quicken, So my forum, talknightlife.co.uk is currently 10th on google for "nightlife forum" I have about 15 back links, 26 page autority. Now what i'm trying to do, which everyone else is doing, is trying to move it up a couple of spots maybe to 5th or something. What would your tactics be, I'm disregarding all the crap I read in the forums etc, you guys on here tend to have the best explanation. Let it rip 🙂 Cheers guys Luke.
Intermediate & Advanced SEO | | Lukescotty0 -
Can a Hosting provider that also hosts adult content sites negatively affect our SEO rankings on a non-adult site hosted on same platform?
We're considering moving a site to a host that also offers hosting for adult websites. Can this have a negative affect on SEO, if our hosting company is in any way associated with adult websites?
Intermediate & Advanced SEO | | grapevinemktg0 -
SEO consultant/expert
I am looking to hire an SEO expert that can not only make suggestions/perform audit, but also execute changes. Of course lots of companies are available, but I am ideally looking for an individual with a nice track record. No offense to SEO firms, but I am not interested in paying for overhead, etc. Curious to know if others have gone this route and what the experience has been like. Thanks!
Intermediate & Advanced SEO | | MNKid150 -
Sitemaps. When compressed do you use the .gz file format or the (untidy looking, IMHO) .xml.gz format?
When submitting compressed sitemaps to Google I normally use the a file named sitemap.gz A customer is banging on that his web guy says that sitemap.xml.gz is a better format. Google spiders sitemap.gz just fine and in Webmaster Tools everything looks OK... Interested to know other SEOmoz Pro's preferences here and also to check I haven't made an error that is going to bite me in the ass soon! Over to you.
Intermediate & Advanced SEO | | NoisyLittleMonkey0 -
How does changing hosting affect rankings?
I have a hosting account that is ancient. So is it's CPanel, its way of operation (I have to call in to change the zone file), and its hardware and software (It can't even recognize Wordpress as a user so i have to change permissions to change anything.) I plan on moving the site, but I want to prepare for any changes that may happen. Currently the site ranks between #1 or 3 for quite a few very valuable words. It is also in season for this business. I know changing hosting data or servers can cause google to temporarily drop rankings. Does anyone have any experience with this or now how long the faded rankings can last? Or if its even true?
Intermediate & Advanced SEO | | MarloSchneider0