![]() ![]() However, after the text is drawn, if you place an image over the same spot, the text will be covered up by the image. It works simply because the text does not appear to be invisible when you scan the HTML. This is usually done using CSS to place the image over HTML text. Of course, it does not take too much of a scan of the CSS to detect this technique. The "visibletext" div is visible simply because it has a greater z-index than the "hiddentext" div. Here is an example of what this could look like: The z-index command is just like any other property. Use the z-index command to place your text on a layer below the currently viewable layer.The space simply shows up as a blank area. While it also makes the text invisible, the space that the text would have occupied is still used up in the page layout. This technique varies from that of display:none. Specify an attribute of visibility: hidden. ![]() This technique is also used legitimately for the creation of menus, such as DHTML menus. It's a great technique that allows you to algorithmically create print pages for your articles quite easily. You can take the existing HTML version of a page, and create a print page by replicating the page, but applying the display:none attribute to the navigation and advertising elements of the page. ![]() One example use for this attribute is in dynamically creating printable versions of your articles. When you use display:none, the specified text does not display on the screen, and it is as if the element is simply not there (it has no effect on the placement of any other items on the page). Here are a few methods for using CSS to hide text: It's hard to detect algorithmically, but, under human review I would conjecture that it would be seen as a poor quality signal.ĬSS techniques for creating hidden text are more interesting because they are much harder for search engine crawlers to detect unless they crawl and interpret the CSS. The text could well be directly related to the site's basic purpose, and the intent in this case would be that of "keyword stuffing". So while it is visible, the text is clearly out of the "action oriented" area of a page, and resides well below the fold, and the user needs to scroll down to see it. This is also a "psuedo hidden text" technique - that of providing content that is really not there for users. In other words, stuffing a lot of keywords within noscript tags comes with a fair amount of risk. While it's possible to make the text contained within the noscript tags different from what is in the Javascript, about 3% of users will see it, and that's more than enough to generate spam report complaints to the search engines. This is really only "pseudo hidden text". This is also easy to detect, and I can't think of any legit use for it either.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |