473,499 Members | 1,593 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 31532
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.infosystems.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.infosystems.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="ItsHidden">
<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
1899
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...
1
3346
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...
6
1434
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
16721
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...
29
5060
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
8411
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...
1
4150
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. ...
6
3197
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...
0
10705
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...
0
7009
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6899
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...
0
5475
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,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4602
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...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
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 ...
0
302
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...

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.