Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Create Internal Links in HostGator

wdshabazz
Posts: 4
Joined: 17 Apr 12
Trust:

Create Internal Links in HostGator

Hello I just got my hostgator account and I have a template that I am going to use for my first website (Yay!) I wanted to know how to take images and create internal links to other pages of my site and take other images and create external links to affiliate products I am going to market. so the external links have to include my affiliate link
  • 1
Site Admin
cecille.l
Posts: 6963
Joined: 25 Feb 11
Trust:
Hi wdshabazz,

I'm not familiar with the templates in HostGator, but generally, if you are going to create links both internal and external, the code will look like the one below:



If you're going to make it into a "clickable text", then you need to insert the link within the image (IMG) code. You can follow the instructions in W3C.

Hope that helps. Have a good day!
  • 1
Cecille


Step by step guide to "Penguin-proofed" sites : www.affilorama.com/affiloblueprint


Add us on Google Plus: http://www.affilorama.com/googleplus
 
PremiumMember
gradyp
Posts: 1062
Joined: 28 Jun 09
Trust:
Except you don't need the apostrophe before the = sign.... href="http://www.PageURL.com"
  • 1
Have questions about creating images? Want an image created for you? Check out my site at www.GradyPruitt.com/welcome-affilorama-friends
 
Site Admin
cecille.l
Posts: 6963
Joined: 25 Feb 11
Trust:
I'm sorry.

Thanks for spotting that Grady! :)

Here's the correct code:

  • 1
Cecille


Step by step guide to "Penguin-proofed" sites : www.affilorama.com/affiloblueprint


Add us on Google Plus: http://www.affilorama.com/googleplus
 
PremiumMember
jimcoe
Posts: 398
Joined: 13 Feb 12
Trust:
...and then there are the extra frills - #1 is the most used:

1. Open in a new window:


2. Default: Same as not using a "target":


3. Advanced: If your page is embedded in another page ("iframe"), this opens the page it's embedded in:


4. Advanced: If there are more than 1 iframes, this opens in the top level window of the series:


5. Advanced: Opens in any iframe you name:


Really, (#1) opening in a new window (same as opening a new "browser tab") is the most useful of these. It lets the visitor see the original window underneath the newly opened window, so they can easily get back to your site or page by just closing the newly opened window. Good for a "quick look" at something off your site, like a Wikipedia reference.

Hope this helps...
_jim coe
  • 1

This topic was started on May 15, 2012 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.