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. On-Page / Site Optimization
    4. I think my site's HTML is good but I get 22 Invalid markup erros?

    I think my site's HTML is good but I get 22 Invalid markup erros?

    On-Page / Site Optimization
    5 3 535
    • 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.
    • JAARON
      JAARON last edited by

      Most are all related to things like facebook like buttons and such. I'm using DOCTYPE 4.01 Traditional but no good. Any ideas?

      www.jaaron-wood-countertops.com

      1 Reply Last reply Reply Quote 0
      • DanDeceuster
        DanDeceuster last edited by

        Couple little things you want to take care of that should fix a lot of what is going on. Any element in the section that opens with at the end of it. Your itemprop things for example are not closed properly, so that makes the validator think things that follow it are incorrect.

        Also, I may be wrong here, but I believe the

        1 Reply Last reply Reply Quote 1
        • Naghirniac
          Naghirniac last edited by

          Did you take a look at  The web developers seo cheat sheet? I might help you. Its a very cleaver sheet giving you easy steps to review your website.

          1 Reply Last reply Reply Quote 0
          • JAARON
            JAARON last edited by

            Thanks guys. I've taken out the itemprop things because I think you're right Daniel. I can't remember where I got those but I don't think they were being used right.

            Nghirniac thanks for the link to the check list. I did have that already and use it a good bit.

            None of the corrections really made much of a difference thought so I changed the DOCTYPE to several different ones and that only created more errors. Are there just some things that the WC3 tool will find to be incorrect no matter what?

            DanDeceuster 1 Reply Last reply Reply Quote 0
            • DanDeceuster
              DanDeceuster @JAARON last edited by

              Joshua,

              In your section you have some errors and so cleaning them up will get your code valid. Here is what you have:

              At the end of each of these meta and link elements you need the closing / which is not there. So instead of ending them all with > you end them all with /> instead. That will fix a lot.

              Also, you have this in your head section which doesn't belong:

              Just delete it. You can't have a div in the head section. You also have a

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Making Shopify URL's Simpler - Losing the words 'collection', 'product' and 'page' in a Shopify store URL. Any advice?
                0
                1
                171

              • I want to place reviews from a review site also on my client's website, what's the right way to do that?
                JoostDerks
                JoostDerks
                0
                3
                92

              • Competitor's 'hidden' links harming my site?
                Sandy_M
                Sandy_M
                0
                5
                213

              • Duplicate Content from on Competitor's site?
                Dino64
                Dino64
                0
                3
                111

              • Why there's a full-stop in the title of SEOMOZ's home page?
                SEO-Doctor
                SEO-Doctor
                0
                3
                404

              • New site not ranking for it's name
                mad2k
                mad2k
                0
                7
                1.5k

              • I changed my site from HTML to PHP and I need to get some help.
                TrendyHost
                TrendyHost
                0
                4
                555

              • Is it good to have dashes in url's
                BradBorst
                BradBorst
                0
                6
                846

              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