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.