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
                • How to optimize count of interlinking by increasing Interlinking count of chosen landing pages and decreasing for less important pages within the site?
                  Joe.Robison
                  Joe.Robison
                  0
                  3
                  96

                • Our client's web property recently switched over to secure pages (https) however there non secure pages (http) are still being indexed in Google. Should we request in GWMT to have the non secure pages deindexed?
                  N1ghteyes
                  N1ghteyes
                  0
                  3
                  128

                • 301'd an important, ranking page to the wrong new page, any recourse?
                  RyanPurkey
                  RyanPurkey
                  0
                  4
                  55

                • Will redirecting poor traffic web pages increase web presence
                  JaneCopland
                  JaneCopland
                  0
                  7
                  239

                • New Web Page Not Indexed
                  DougRoberts
                  DougRoberts
                  0
                  9
                  106

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

                • Convert keyword rich PDFs to web pages (text & images)
                  john4math
                  john4math
                  0
                  2
                  742

                • 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