![]() |
|
|
| Subject:
Computer: HTML tags
Category: Computers Asked by: trakkarclay-ga List Price: $2.50 |
Posted:
16 Dec 2002 13:49 PST
Expires: 15 Jan 2003 13:49 PST Question ID: 125584 |
Is it possible to have a web page with a <title> tag that appears and another meta title tag that has more relevant keywords but does not appear? If so what is are the tags that should be used? |
|
| Subject:
Re: Computer: HTML tags
Answered By: hailstorm-ga on 16 Dec 2002 18:10 PST Rated: ![]() |
trakkarclay,
You can do this by embedding some Javascript into the BODY tag of your
HTML document. First, set the TITLE tag to the keyword intensive list
you wish, such as:
<TITLE>keyword site Javascript change title dynamically this for
non-Javascript browsers like search engine crawlers only</TITLE>
Then in the BODY tag, set the onLoad parameter to load the page with
your real title:
<BODY onLoad="document.title=('The title I want you to see');">
On browsers that are set to run Javascript, "The title I want you to
see" will show up as the title, yet the title that is seen by the
search engine crawlers is the original title as shown in the title
tag.
It should be noted that attempting to alter your content for the
search engines to increase your ranking is known as "cloaking", and
according to the Google FAQ can result in your site being permanently
banned from its search engine, so use caution in determining whether
you really wish to do this.
Sites Cited:
Manipulate Browser Windows Using Javascript
http://gethelp.devx.com/techtips/web_pro/10min/10min0999/10min0999.asp
Google FAQ
://www.google.com/webmasters/faq.html#cloaking
Google search terms used:
"change the title" using Javascript |
trakkarclay-ga
rated this answer:
|
|
| Subject:
Re: Computer: HTML tags
From: mortis-ga on 16 Dec 2002 16:01 PST |
No it isn't possible to have what you want exactly at all. Why aren't you happy using: <meta name="keywords" content="site, web, html, net, etc" /> and <meta name="description" content="My own home on the web" /> |
| Subject:
Re: Computer: HTML tags
From: bobthedispatcher-ga on 16 Dec 2002 16:48 PST |
What would be the purpose? the tags are specified in detail to allow uniform use by browsers and search engines. You could always create your own, <meta name="mystuf" content="jsut what I want"> but nobody will ever even look for it, or use it! You could however use them with your own custom software, since as long as it doesn't appear to be anything that the existing software looks for, it will be ignored. |
| Subject:
Re: Computer: HTML tags
From: bobthedispatcher-ga on 16 Dec 2002 16:50 PST |
Just thought of this! Are you trying to have two tags with the identical title, hoping that search engines might read the first, but browsers see the second as a replacement of the first?? or something like taht |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
| Search Google Answers for |
| Google Home - Answers FAQ - Terms of Service - Privacy Policy |