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 important is my code to text ratio on web pages?

    How important is my code to text ratio on web pages?

    Intermediate & Advanced SEO
    6 4 12.1k
    • 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.
    • absoauto
      absoauto last edited by

      I've been getting mixed reviews on this and I'm trying to figure out whether this is something I should be concerned with. We have a higher than recommended amount of code, relative to "content" but not by a crazy amount.

      Thanks!

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

        The biggest issue is with how this affects your load speed. Plug in your site here to see: https://developers.google.com/speed/pagespeed/insights/

        Sites in the red often have trouble ranking well.

        absoauto 1 Reply Last reply Reply Quote 1
        • absoauto
          absoauto @RyanPurkey last edited by

          Awesome, thanks Ryan. How would I add "private, max-age=600" as code? Is there I can line I can put in the tags to show every image on that page should have that cache rule?

          RyanPurkey 1 Reply Last reply Reply Quote 0
          • RyanPurkey
            RyanPurkey @absoauto last edited by

            There's a discussion on cache expiration here: http://stackoverflow.com/questions/6486805/html-cache-control-max-age, but you'll want someone knowledgeable in these recommendations making changes.

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

              Hi,

              I would like to share one article on this. I hope that helps you.

              http://blog.woorank.com/2013/03/are-text-to-html-ratios-important/

              Thanks

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

                Hi,

                I am also very confused by the conflicting information out there.

                On one hand the general advice appears to be get your text to code ratio over 25%,

                but on the other hand Moz now includes as one of its "Spam Score"  factors and I quote "**Site Mark-up is Abnormally Small - **There's a high ratio of visible text compared to HTML, JavaScript, etc."

                So which is right for the best SERPS SEO????

                Help,

                Glenn

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Web accessibility - High Contrast web pages, duplicate content and SEO
                  Bee159
                  Bee159
                  0
                  3
                  101

                • Text to Code Ratio & SEO
                  BeckyKey
                  BeckyKey
                  0
                  9
                  4.7k

                • Would it work to place H1 (or important page keywords) at the top of your page in HTML and move lower on page with CSS?
                  ChrisAshton
                  ChrisAshton
                  0
                  5
                  263

                • Low text-HTML ratios
                  Kevin-Moore
                  Kevin-Moore
                  0
                  4
                  18.7k

                • Panda 4.0 Update Affected Site - What should be a the minimum Code to Text Ratio we should aim for ?
                  AlanMosley
                  AlanMosley
                  0
                  3
                  302

                • Can use of the id attribute to anchor t text down a page cause page duplication issues?
                  Chammy
                  Chammy
                  0
                  4
                  240

                • Is there an optimal ratio of external links to a page vs internal links originating at that page ?
                  EGOL
                  EGOL
                  0
                  2
                  1.3k

                • Importance of text above the fold
                  RyanKent
                  RyanKent
                  0
                  4
                  928

                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