Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ General Web Design _ HTML to "disguise" a link

Posted by: nikk Nov 15 2007, 04:54 PM

Hey people! biggrin.gif

I'm going to try to describe this the best way I can, so if it confuses you, I'm sorry. I'd really appreciate some help though.

I have a link that I want to send to my friend so they can go to a certain webite. I'd like to hide the website name.

In other words,
I'd like my friend to see a clickable link that said "cats".
And when they click it it will send them to http://www.dogs.com.
lol Sorry for the bad example.. but that's the only way I can describe it.
I would just like to know how I can make a clickable link that shows "cats" or whatever word I want it to show instead of them seeing the website. I understand that the website name will still appear in the address bar after they click it, unless that can be changed too. Please let me know how to do this.

Thanks wub.gif

Posted by: griff Nov 15 2007, 05:33 PM

This should do it!

<a href="http://the site you wantto send them to" target="_blank">the text you want to use</a></span>

Posted by: griff Nov 15 2007, 05:36 PM

i don't think its possible to mask the address of an external site thats not under your control unfortunately

Posted by: nikk Nov 15 2007, 05:48 PM

Thanks alot!!!

Posted by: Darin McGrew Nov 15 2007, 06:56 PM

Redirecting sites like http://tinyurl.com/ are often used for this kind of misdirection. Some people refuse to use tinyurl.com links for that reason.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)