473,800 Members | 2,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I hide text on my homepage ?

Hi,

I want to put some words on my homepage so that it is found by search
engines.
These words should not be visible when viewing the page.
I have tried to make background and text the same color, but then the text
is visible when selected.

Is it possible to change the color of selected text?

I have also tried
<META NAME=KEYWORDS .....>
but Google seems to ignore that.

Any ideas?
Jul 20 '05 #1
7 31562
Sabine Jollans wrote:
I want to put some words on my homepage so that it is found by search
engines.
These words should not be visible when viewing the page.
I have tried to make background and text the same color, but then the text
is visible when selected.


If the words represent the content, they should be part of the content.

You could try using <div style="display: none">blah</div> but Google
might ignore that, too.

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #2
Sabine Jollans wrote:

I want to put some words on my homepage so that it is found by search
engines.
These words should not be visible when viewing the page.
I have tried to make background and text the same color, but then the
text is visible when selected.

Is it possible to change the color of selected text?


Yes, it's possible. And there's no better way to get your page banned
from search engines, so don't do it. The only right place is the
meta-keyword and meta-description, and don't have high hopes for that
being of interest to search engines.

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #3
It seems "Sabine Jollans" wrote in
comp.infosystem s.www.authoring.html:
I want to put some words on my homepage so that it is found by search
engines.
These words should not be visible when viewing the page.


That is considered spamming the search engines. Some such tricks
used to work in the past, but the major engines are no longer
fooled. And such tricks can make your page stand lower in even
searches for _visible_ words, or be suppressed altogether.

In other words, bad idea.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4
Sabine Jollans wrote:

I want to put some words on my homepage so that it is found by
search engines. These words should not be visible when viewing the
page.
This is considered "spamdexing ," and may get you dropped from Google
altogether.

http://www.google.com/webmasters/2.html
(see especially last bulleted item on page)

http://www.turismotec.com/article3.htm
I have tried to make background and text the same color, but then
the text is visible when selected.
One of the things that will get you banned.
Is it possible to change the color of selected text?
I think that's in CSS3. But it's a terrible idea. You're trying to
solve the wrong problem.
I have also tried <META NAME=KEYWORDS .....> but Google seems to
ignore that.
They sure do. Abuse of meta tags has made them useless. Google
(rightly) ignores them.
Any ideas?


Sure. Stop trying to fool your way to high rankings. Write meaningful
content. Use sensible, meaningful content. Make sure the server is
configured correctly. That's really the beginning and end of your job
as a web author. Let Google et. al. do their job, indexing your
content. Your *real* content.
--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Jul 20 '05 #5
It seems "Brian" wrote in comp.infosystem s.www.authoring.html:

http://www.google.com/webmasters/2.html
(see especially last bulleted item on page)


Good reference! The next someone asks why frames are bad, can we
just post this and tell 'em to read the third bullet? :-)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #6
Thanks everybody, I didn't know that this should not be done.

Had I thought about it (which I did not) it should have been obvious because
of possible misuse.
Jul 20 '05 #7
Jon
<snip>
I want to put some words on my homepage so that it is found by search
engines.


<snip>

I've recently seen a page that had a css:

<style type="text/css">
<!--
..ItsHidden { position: absolute; left: -1500px; top: -1000px;}
-->
</style>

Then for a table:

<table width="695" border="0" align="center" cellpadding="0" cellspacing="0"
class="ItsHidde n">
<tr>
<td><h1 align="center"> Heading - This Table Is Hidden</h1>
<p align="center"> Description Here</p>
<p align="center"> Menu</p>
<p align="center"> <a href="#">1 Link</a> | <a href="#">2
Link</a> | <a href="#">3 Link</a></p>
</td>
</tr>
</table>

This is only hidden if the browser supports CSS so needs constructing
neatly.

I'm aware of google's advise but not sure how it would deal with this

Any thoughts

Jon
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1937
by: Lex | last post by:
As you may have seen in other posts I have a C# app that has custom shortcuts so I need to OwnerDraw my MenuItems. Thanx to vJ and Mick for the tips so far. I am almost there :-) My last (I hope) issue is aligning the menu text and shortcut text properly. I need it to line up as if there are two columns - 1 for the menu text and one for the shortcut text. The menu text is left justified in col 1 and shortcur text is left justified...
1
3368
by: rolear01 | last post by:
A php newbie with a problem! I have a form with a text area <form name=edit_front_page_form action="/test.php?page=front_page_updated" method=get> <p>Edit front page<br> <textarea cols=30 rows=15 name='text_front_page'></textarea> <input type=submit value="Submit"> </form>
6
1451
by: Ksenia Marasanova | last post by:
Hi, I am looking for a library that will give me very simple text representation of HTML. For example <div><h1>Title</h1><p>This is a <br />test</p></div> will be transformed to: Title
1
16762
by: asilverpeach | last post by:
Hey Guys! Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out. First, In the following code clicking on the headers shows the div information. I want a nested show hide element though. So when you click on "Do you have carpets to be cleaned?" Small Rooms & Medium Rooms appears (that I got working) But Then when you click on Small rooms or medium rooms i want the three lines...
29
5146
by: Michael Bulatovich | last post by:
Is there a way to use CSS to format "plain" text in an html document. By plain I mean text which is not contained by <por <h#tags. Is there no way to control how this stuff is rendered? tia
5
8441
by: ali | last post by:
Hello every one i need you help regarding div hide and show. i am having a link like <a href="#" onClick="expandWin()">show/hide </a> <div id=showHide> </div> within div i have lots of form tags and div elements say n. The problem
1
4173
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. I don`t want to change the way i have used to show and hide layers. check down code :- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
6
3218
by: Doogie | last post by:
Hi I have an img control I am trying to hide upon certain types of commands in my code behind. When to hide it is directly tied to a asp:dropdownlist control. So depending on what the user selects in that dropdownlist, this image will be hidden or be displayed. I have tied the onselectedindexchanged value of the dropdownlist to a c-sharp method (not javascript) because other things are being done as well that I want to do server side. ...
0
10785
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information inside an image, hide your complete image as text ,search for a particular image inside a directory, minimize the size of the image. However this is not a new concept, there is a concept called Steganography which enables to conceal your secret...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10035
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9090
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.