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. How does badly formatted HTML affect SEO?

    How does badly formatted HTML affect SEO?

    Intermediate & Advanced SEO
    5 4 874
    • 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.
    • OptiBacUK
      OptiBacUK last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Matt-Williamson
        Matt-Williamson last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • CMC-SD
          CMC-SD last edited by

          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.

          OptiBacUK 1 Reply Last reply Reply Quote 2
          • NakulGoyal
            NakulGoyal last edited by

            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.

            1 Reply Last reply Reply Quote 1
            • OptiBacUK
              OptiBacUK @CMC-SD last edited by

              Great, thanks for the info. I always thought Google was really hot on compliance, but good to know there is a bit of leeway.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Can fonts affect SEO.. ?
                LoganRay
                LoganRay
                0
                8
                3.2k

              • Do Page Anchors Affect SEO?
                EGOL
                EGOL
                1
                4
                3.2k

              • Is Snip.ly bad for SEO?
                gaben
                gaben
                0
                4
                1.3k

              • Are pop-unders bad for SEO?
                PatrickDelehanty
                PatrickDelehanty
                0
                3
                1.7k

              • Is hidden content bad for SEO?
                Everett
                Everett
                0
                8
                1.9k

              • Is CloudFlare bad for SEO?
                Olamikesh
                Olamikesh
                1
                11
                18.0k

              • How to be a good SEO optimizer while competing with a good ranked Bad SEO optimizer?
                Sean_Dawes
                Sean_Dawes
                0
                2
                459

              • Are dropdown menus bad for SEO
                Panageos
                Panageos
                1
                7
                6.1k

              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