Home     Blog

How to 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>how to make javascript links How to Make JavaScript Links

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.

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
Follow Will.Spencer on

Leave a Reply

Related Posts

  • Java vs. JavaScript

    Java and JavaScript are two different programming languages which have similar names and share similar syntax. Java is a complete object oriented programming language which is designed to create applets or stand-alone applications. JavaScript is a more simple programming language which is designed to create scripts for use on the World Wide Web. Java bytecode [...]...