This post has a very Black Hat SEO flavor. I do not endorse any of the techniques below. They are a collection of techniques to keep your text hidden on a webpage. Google is vigilant about discovering anyone “spamming” their engine, and if they discover your site hiding text, there is a good chance you’ll be penalized/removed from their index. Remember, BMW?
So, if you want to test how well a Black hat technique like hiding text on a webpage can be, then you should buy a throwaway domain (one you don’t care about), and use it as a testing ground. Make sure the Whois info is different from your primary domains.
14 Methods to Hide Text:
1) Using “Display:none” in your CSS.
3) Blend text color into background color.
5) Using the Div tag to hide text:
6) Use the position command to place the text off the viewable screen area;
position : absolute;
left : -1000px;
7) Use the “visibility : hidden” command to cause the browser to keep the text in the div hidden;
visibility : hidden;
8) Use the z-index command to place the text below the viewable layer. SO, it only appears after a user takes some kind of action…like clicking on a button.
9) Hiding text labels within Forms on a data table.
11) Font size. Make the font super small. Like -10000px.
12) Alt attribute text. Although, the Alt attribute is not really hidden, because it appears when you mouse over the image.
13) Link Title attribute. This is like an Alt tag, but for a hyperlink.
14) Including text behind an image.
Not all invisible Divs are used in a spammy way.
I’m not sure if Google requests & spiders the CSS, so these particular methods of hidden text might be beneficial for awhile. But, you’re certainly playing with fire. Check out this recent find by Matt regarding hidden text.