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
        • My exactly website name is not in google search
          Rajesh.Prajapati
          Rajesh.Prajapati
          0
          3
          41

        • How google treats my two different domains with the same content ?
          GastonRiera
          GastonRiera
          0
          2
          55

        • OMG! does Google really consider text-decoration:none as a hidden link?
          cbielich
          cbielich
          0
          3
          168

        • 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

        • Is thumbnail text crawlable/lists of product names considered as normal copy in terms of keywords?
          LawrenceNeal
          LawrenceNeal
          0
          3
          152

        • My text does not show up in Google
          csrinpractice
          csrinpractice
          0
          9
          386

        • Are Content in Inline Javascript and Collapsible Considered Cloaking to Google?
          RyanKent
          RyanKent
          0
          2
          660

        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

        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