Thursday, April 20, 2006

Don't Link People Away From Your Site!

Don't you hate it when you put a link on your blog page or website and in effect it drives people from your page to someone else's? Ever notice that some people have links that you click on and it opens a new browser window so your page is still up but just in the background?

Here is a simple html trick to make the link open in a new window.

Use - (space)target="_blank" - Just after the final URL quotemark put a space and place the command just before the ending elbow (>) in the link url. Don't forget the quotes around the word and the underscore line or it won't work. It will look like this:

- a href="place_url_here" target="_blank" -

of course the elbow thingy's go on each end.

It does help keep people from surfing away from your page.

Here is a working sample - For a great time Click Here! -


Technorati Tags -