How do I make JavaScript links?

Many webmasters want to make JavaScript links instead of HTML links because they believe this will "conserve PR". This is an unresolved argument among search engine optimization specialists.

A normal HTML link looks like this:

<a href="http://www.tech-faq.com">Tech FAQ</a>

And works like this:

Tech FAQ

A JavaScript link looks like this:

<a href="javascript:var handle=window.open('http://www.tech-faq.com')">Tech FAQ</a>

And works like this:

Tech FAQ

An Alternative to JavaScript Links

An alternative to JavaScript links is to create PHP-scripted links. To create PHP-scripted links, try the Via toy from SEO-Toys.

PHP is a server-side technology, and does not rely upon client-side browser support. Many users disable JavaScript in their browsers, or use browsers which do not support Javascript.



Top 5 Free Networking Tools

Bookmark How do I make JavaScript links?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.