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. Does class and id names considered as text content by google

    Does class and id names considered as text content by google

    On-Page / Site Optimization
    2 2 235
    • 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.
    • Sulekha
      Sulekha last edited by

      Does google and other search engines considers the class and id names as part of text content. Will it be included in the keyword density and treated as a content.

      For Example:

      <a <span="">href</a><a <span="">="http://xyz.com" title="xyz" class="topmargin_rightside_middlenavigation_home"></a>

      Will google considers the words "topmargin rightside middlenavigation home" as part of the text.

      Also If i am supposed to use this class as many times on a page, will the keyword density affects.

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

        If Google did consider the class or id names as part of the text then people would be making sure they were full of keywords for their sites and it would be listed on SEOMoz as a spammy tactic.

        As that's not the case I would say that Google doesn't include it.

        Also you shouldn't be worrying too much about Keyword density - http://www.seomoz.org/blog/10-myths-that-scare-seos-but-shouldnt-whiteboard-friday

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Does javascript generated content consider as regular content?
          Expansyon
          Expansyon
          0
          2
          25

        • Content on product category pages - does Google care?
          Hurf
          Hurf
          0
          3
          52

        • How to rank in Google during domain name search?
          MindlessWizard
          MindlessWizard
          0
          5
          130

        • Google index text that I can not find
          Devanur-Rafi
          Devanur-Rafi
          0
          6
          120

        • How much content does Google Crawl on your site?
          NatanValencia
          NatanValencia
          0
          3
          297

        • Google Authorship for SEO Content Writers
          ske11
          ske11
          1
          2
          256

        • Country Name in Google SERP
          irvingw
          irvingw
          0
          2
          317

        • User experience regarding dulpicate content and managing this content with google.
          LadyApollo
          LadyApollo
          0
          3
          350

        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