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
-
How much is the importance of grammar and formation of sentence in Meta Title and Description in SEO
We are having, say around 100 products, cakes to be specific, with different flavors, available in more than 100000 areas of 200 plus cities. Now to make it SEO friendly, we have an algorithm which creates a unique page for each cake name, with area name, and few keywords, so that if customer is searching for cake delivery in any specific area of specific city, the user will easily find the right page. Now the thing is - when creating such unique pages for different combinations of cake, city and areas, it is also creating some content. So we wanted to know how much is the importance given to Grammatically correct statement compared to incorrect statement in ranking a page. for example: there is 1Kg Chocolate Cake, available in Satellite Area of Ahmedabad city, which one of the following Page title will have higher ranking? Case A: Send 1Kg chocolate cake to satellite area ahmedabad online Case B: Online 1kg Chocolate Cake delivery in Satellite Ahmedabad In Case A: the statement contains all keywords, but there are some grammatical mistakes in formation of statement as well as Capital Characters are not used for Satellite (Area name) and Ahmedabad (City name) In Case B: the statement is grammatical proper, as well as capital characters are used for Area name and City name. Does all search engine also have their algorithm designed to analyze the grammatical structure of page title or it just scans the keywords? Thanks in advance. Team Midnightcake
Intermediate & Advanced SEO | | midnightcake1 -
Looking for Adult SEO company
Hi guys and girls, I am looking for a company that is willing to work with us to improve our SEO. Our website is www.reallovesexdolls.com and we keep on going all the way UP to fall rock bottom hard again (like waves in the ocean). It's really weird, we never invested much in link building and such. We are so busy with other things that it would be nice to outsource this task. You can contact us by phone, or by email. Thanks!
Intermediate & Advanced SEO | | MartinePeters0 -
WhoIs, SEO & Privacy
Is WHOIS data used by Google as a ranking signal? We had a website that had some bad SEO work done a while ago hence took a knock, If I use the same WHOIS data on a new site is that likely to cause an issue? Also I don't like the idea of providing too much information for privacy reasons, so have tended to stick to general email addresses and department names rather than actual personal information. Is that a bad approach?
Intermediate & Advanced SEO | | seoman100 -
International SEO
We want to expand to a few new regions internationally. My question is if we register sites in different geographies and upload our exact site to these web addresses (exact duplicates) so our web addresses will then be www.mysite.co.uk (current site) www.mysite.com (new intended site) www.mysite.com.au (new intended site) and add rel=“canonical” linking elements to prevent duplicate content issues.Will our content production on our current site www.mysite.co.uk retain its value within all the other sites. Is this the best way to do it? Thanks in advance!
Intermediate & Advanced SEO | | aquaspressovending0 -
SEO Tools
Anyone have any experience and thoughts about the woo rank website and seo tool?
Intermediate & Advanced SEO | | casper4341 -
# element above Menu - Is there any SEO Value to it
Is there any Value to having the H1 element above the MENU in a Typical Application ? My intention is to tell the "Bot" that the H1 element is more important than the Menu Items . Are there any examples of such sites . The closest that I have seen is (NOT MY SITES) http://www.airfarewatchdog.com/ and http://www.airfarewatchdog.com/cheap-flights/from-dallas-texas/1531/?airport_code=dfw&depsub=1&c2calert=0&deal_alert=0&from_hp=true Here they (second link) they have H1 above the Bread Crumb ( they dont have any menu though).
Intermediate & Advanced SEO | | Chaits0 -
SEO Landing Page Fail
We have a PPC landing page template that I've used to aggregate blog post collections thematically. http://www.ietravel.com/machu-picchu-travel http://www.ietravel.com/kenya-and-tanzania-safari The hope was that they would start ranking. After 5 months, it has yet to happen.Thought it was a good idea at the time because these pages have a nice prominent call-to-action area. It now occurs to me that the pages are probably under-performing because they are not incorporated into the main site navigation. Do you think that if I move these under their appropriate categories in the main site I'll see some lift? (Of course, I will add 301 redirects as well.) Thanks
Intermediate & Advanced SEO | | csmithal0 -
Best SEO format for a blog page on an ecommerce website.. inc Source Ordered Content
Does anyone know of a page template or code I might want to base a blog on as part of an eccomerce website? I am interested in keeping the look (includes) of the website and paying attention to Source Ordered Content helping crawlers index the new great blogs we have to share. I could just knock up a page with a template from the site but I would like to investigate SOC at this stage as it may benefit us in the long run. Any ideas?
Intermediate & Advanced SEO | | robertrRSwalters0