Does class and id names considered as text content by google
-
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.
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Duplicate Content with ?Page ID's in WordPress
Hi there, I'm trying to figure out the best way to solve a duplicate content problem that I have due to Page ID's that WordPress automatically assigns to pages. I know that in order for me to resolve this I have to use canonical urls but the problem for me is I can't figure out the URL structure. Moz is showing me thousands of duplicate content errors that are mostly related to Page IDs For example, this is how a page's url should look like on my site Moz is telling me there are 50 duplicate content errors for this page. The page ID for this page is 82 so the duplicate content errors appear as follows and so on. For 47 more pages. The problem repeats itself with other pages as well. My permalinks are set to "Post Name" so I know that's not an issue. What can I do to resolve this? How can I use canonical URLs to solve this problem. Any help will be greatly appreciated.
On-Page Optimization | | SpaMedica0 -
Google Crawl Errors from vbseo change
We have vbseo setup on our site and for some reason a setting was changed unexpectedly and was un-noticed where it changed the URL of all the pages and so none of our pages were getting indexed by google any longer due to 401 errors. Most of our SE traffic fell off. We discovered the issue a couple weeks ago and we changed the setting back so that the URLs are the same as they were originally before but in Google webmasters it's still showing crawl errors and our search engine traffic hasn't recovered at all. We have sitemaps being sent daily.
On-Page Optimization | | RudySF0 -
Changing domain name
Hello, we have 10 websites in same niche, and plan to build one strong site by making a 301 redirect from all sites to one. We think to do redirect each site to subfolder like this: www.newdomain.com/site1 www.newdomain.com/site2 www.newdomain.com/site3 www.newdomain.com/site4 www.newdomain.com/site5 www.newdomain.com/site6 www.newdomain.com/site7 www.newdomain.com/site8 www.newdomain.com/site9 www.newdomain.com/site10 And in root domain place unique content updated daily. Is this would work? Or this is bad idea? Looking to hear from a qualified technicians advice. Thanks in advance!
On-Page Optimization | | bele0 -
Anchor text filters
I am using text replace on a blog to automatically link keywords in posts and pages back to the homepage. Sometimes the same KEYWORD links back 2/3 times in one post, can this harm rankings or cause an anchor text filter? thanks,
On-Page Optimization | | babyjane0 -
Duplicate Content
Hi I have Duplicate content that i do sent understand 1 - www.example.dk 2- www.example.dk/ I thought i was the same page, whit and without the / Hope someone can help 🙂
On-Page Optimization | | seopeter290 -
Guest vs Logged In Content
Hi Mozzers I have a client that recently launched a q&a and he has the answers hidden by registering for free you can see the answers. It's a free community. Now the question comes: Google will not get the entire page only the question content which I think is bad. What option would solve the issue. Have thought about making the answers hidden through css... so if you're a guest the answers are display:none . But it has to be a better option than dirty things like this 🙂
On-Page Optimization | | mosaicpro0 -
Strategies for revising my duplicate content?
New to SEO and SEOmoz. I tried searching for this first and I'm sure it's on here but I could not find it. I have a site that markets fishing charters in a few dozen cities. Up to now I was relying on PPC and using each city page as a landing page of sorts. Each citiy page is very similar (there are only so many ways to write about a type of fish or fishing). What would be the recommended way for optimizing this, keeping in mind the duplicate information we provide on each page seems to be important to people. Site is www.vipfishingcharters.com Thanks!
On-Page Optimization | | NoahC0 -
Google Sitemap
Does adding a Google Sitemap to webmaster tools REALLY help SEO? If so, are there any resources for help creating one? Here is my site: http://www.petmedicalcenter.com Thanks,
On-Page Optimization | | PMC-312087
Brant0