undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    What is your Brand Authority?
    Moz

    What is your Brand Authority?

    Check yours now
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

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

  1. Home
  2. SEO Tactics
  3. Technical SEO
  4. How much impact does bad html coding really have on SEO?

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

How much impact does bad html coding really have on SEO?

Technical SEO
5
7
5.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • Chammy
    Chammy last edited by Jan 25, 2012, 2:04 PM

    My client has a site that we are trying to optimise. However the code is really pretty bad.

    There are 205 errors showing when W3C validating. The >title>, , <keywords> tags are appearing twice. There is truly excessive javascript. And everything has been put in tables.</keywords>

    How much do you think this is really impacting the opportunity to rank? There has been quite a bit of discussion recently along the lines of is on-page SEO impacting anymore.

    I just want to be sure before I recommend a whole heap of code changes that could cost her a lot - especially if the impact/return could be miniscule.

    Should it all be cleaned up?

    Many thanks

    1 Reply Last reply Reply Quote 0
    • Nobody1596916721222
      Nobody1596916721222 @Chammy last edited by Sep 22, 2015, 5:41 PM Sep 22, 2015, 5:41 PM

      Hi Chammy,

      I inherited a site that reported 3,184 crawl errors in MOZ and a significant number of them (nearly 600) were duplicate titles and content. I have that down to under 1,000 total errors and only 86 critical errors. I have seen my ranking grow pretty substantially and in one week had 6 pages increase over 20 positions in rank. I can share the MOZ Rank Report if you would like to see it.

      So yes, it does have an impact.

      1 Reply Last reply Reply Quote 0
      • DougRoberts
        DougRoberts @Chammy last edited by Jan 27, 2012, 11:49 AM Jan 27, 2012, 11:49 AM

        I'm sorry, I don't have any evidence from the user experience point of view,. although I would also be interested to see the results of any studies.

        I will say that from a site management/maintenance point of view it makes sense to try and keep the code as clean as possible. I've been involved in project were a considerable chunk of the cost was incurred due to the amount of time and effort that was required to unravel the mess even before any new changes were made!

        1 Reply Last reply Reply Quote 0
        • Chammy
          Chammy last edited by Jan 26, 2012, 3:20 PM Jan 26, 2012, 3:20 PM

          Thanks very much everyone - very helpful.

          Good point re page speed - the pages are certainly slow to load so this could well be due to the huge amount of js and bad code.

          And yes, think the duplicate tags should be sorted - this shouldn't be difficult.

          Has anyone got any tangible results that they've seen as a result of cleaning up js and code?

          DougRoberts Nobody1596916721222 2 Replies Last reply Sep 22, 2015, 5:41 PM Reply Quote 0
          • DougRoberts
            DougRoberts last edited by Jan 25, 2012, 2:44 PM Jan 25, 2012, 2:44 PM

            If you've got things like duplicate title and meta-description's going on then I'd certainly take a look at fixing those. Being able to manage these two tags is vital to managing the way your pages will appear in the search results. (And your title tag is an important ranking factor).

            Normally, if your page doesn't validate then it's not a major problem and search engines won't penalise you for it. If however, your page is so badly crafted that the html errors, and general page structure makes it difficult for the search engines (and humans) to read your page then you're going to suffer.

            The key is to make sure that your site/page content is accessible. How accessible is your page to someone with disabilities, using a screen reader etc.

            You've got to make sure that the search engines can understand what your page is about or your page won't be seen as a relevant page for any search terms...

            How bad is it? How does google render the page in it's instant previews (you can check this is Google Webmaster tools)

            1 Reply Last reply Reply Quote 1
            • MarieHaynes
              MarieHaynes last edited by Jan 25, 2012, 2:39 PM Jan 25, 2012, 2:39 PM

              I personally don't worry about bad code unless it slows down my page or can possibly make things confusing for search engines or readers.

              If the title and meta are appearing twice this could be confusing for search engines, so I would change this.  But, if you've got things like an unclosed

              here and there I personally don't think that's going to be much of a factor.

              1 Reply Last reply Reply Quote 0
              • webfeatseo
                webfeatseo last edited by Jan 25, 2012, 2:37 PM Jan 25, 2012, 2:37 PM

                Invalid code has a small effect on ranking. However, if the invalid code causes usability issues such as load time and or causes a high bounce rate then it can lower your rankings and of course cut back on conversions.

                Some of it is a higher priority than others. I would say defo remove the meta keywords.

                Combine JS pages. The tables while out of date is not a big issue.

                If you have the time and resources then yes it should be cleaned up. If not then clean up major problems

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 out of 7
                • First post
                  1/7
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                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.

                • See all categories

                Related Questions

                • dklarse

                  Are Expires Headers Detrimental to SEO Health?

                  My dev was looking into Expires Headers to increase speed, but she don't know the ramifications behind them for SEO. What I found online is really old: https://moz.com/blog/expires-headers-for-seo-why-you-should-think-twice-before-using-them What do SEOs think? Thanks in advance! ~Dana

                  Technical SEO | Nov 22, 2023, 3:03 PM | dklarse
                  0
                • SamaritansPurse

                  Domain Masking SEO Impact

                  I hope I am explaining this correctly. If I need to provide any clarity please feel free to ask. We currently use a domain mask on an external platform that points back to our site. We are a non-profit and the external site allows users to create peer-to peer fundraisers that benefit our ministry. Currently we get many meta issues related to this site as well as broken links when fundraisers expire etc. We do not have a need to rank for the information from this site. Is there a way to index these pages so that they are not a part of the search engine site crawls as it relates to our site?

                  Technical SEO | Feb 18, 2019, 9:38 AM | SamaritansPurse
                  0
                • oceanstorm

                  Breadcrumbs on Mobile How important are they for SEO?

                  Due to Poor unsightly look of breadcrumbs and the space it takes up above the fold we only employ breadcrumbs on our desktop version. Breadcrumbs are hidden from view on mobile version. However as mobile first indexing is now in play what technical SEO impacts will this have?    one thing that comes to mind is crawling deeper pages where breadcrumbs made them accessible in less than 3 link clicks?  But i am unsure now of the impacts of not having breadcrumbs visible for mobile version of our site.

                  Technical SEO | Mar 4, 2019, 8:32 PM | oceanstorm
                  0
                • Tom3_15

                  Google is indexing bad URLS

                  Hi All, The site I am working on is built on Wordpress. The plugin Revolution Slider was downloaded. While no longer utilized, it still remained on the site for some time. This plugin began creating hundreds of URLs containing nothing but code on the page. I noticed these URLs were being indexed by Google. The URLs follow the structure: www.mysite.com/wp-content/uploads/revslider/templates/this-part-changes/ I have done the following to prevent these URLs from being created & indexed: 1. Added a directive in my Htaccess to 404 all of these URLs 2. Blocked /wp-content/uploads/revslider/ in my robots.txt 3. Manually de-inedex each URL using the GSC tool 4. Deleted the plugin However, new URLs still appear in Google's index, despite being blocked by robots.txt and resolving to a 404. Can anyone suggest any next steps? I Thanks!

                  Technical SEO | Nov 29, 2018, 10:36 AM | Tom3_15
                  0
                • dig_ad_austin

                  Craft CMS SEO Resources

                  I'm just starting out in freelance SEO & I've taken on a client who is using Craft CMS (version 2.0ish) for their site. I am not even close to being competent enough to manually code via Twig, but I had the main developer install the SEOmatic plugin for me. My question from here is - are there any resources or tips I should be aware of starting out? I just started by updating meta title/descriptions via "New Template Meta(s)" but I'm a bit concerned i'm doing the "template path" thing right - I haven't seen any visible changes in browser, and the SERP preview I'm getting is giving me a broken link. But i'm doing a fresh Moz crawl right now to see if the changes took place or not. so 1. Am I on the right track? 2. How long does it typically take for changes to start to show? 3. Is there anything I should be aware of? any follow up questions just let me know, I'll be following this thread!

                  Technical SEO | Oct 1, 2018, 11:12 PM | dig_ad_austin
                  0
                • Katarina-Borovska

                  Any SEO benefits of adding a Glossary to our website?

                  Hi all, I manage a website for a software company. Many terms can be quite tricky so it would be nice to add a Glossary page. Other than that, I have 2 questions: 1. What would be the SEO benefits? 2. How would you suggest to implement this glossary so we can get as much SEO benefit as possible (for example how would we link, where would we place the glossary in the terms of the sitemap, etc.). Any advice appreciated! Katarina

                  Technical SEO | Aug 21, 2017, 5:54 AM | Katarina-Borovska
                  2
                • pauledwards

                  Image Size for SEO

                  Hi there I have a website which has some png images on pages, around 300kb - is this too much? How many kbs a page, to what extent do you know does Google care about page load speed? is every kb important, is there a limit? Any advice much appreciated.

                  Technical SEO | Oct 7, 2011, 12:12 AM | pauledwards
                  0
                • Fubra

                  Putting nav code at the bottom of a page?

                  Hey, We are doing a re-design on our websites and we have run into a little problem. Basically we need to put the nav code at the bottom of the page (so when you view source all the nav code it at the bottom) but the nav will of course still show at the top. Will this cause any issues with our SEO? Will it make the nav seem less important or get crawled less? Thanks for the help in advance! Ricky

                  Technical SEO | Aug 26, 2011, 5:43 PM | Fubra
                  0

                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
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.