Roots
Back

HTML Links

How to create a text link

<a href="url">text</a>

url - The full or relative address of the page you want to link to.
text - The text which will become a clickable link.

<a href="url" target="name">text</a>

name - This is particularly useful if you are using frames or Iframes. It can be the name of a frame on your page, or one of the following;

_blank - The link will load in a new window. This might be useful if you are linking to an external site, but don't want to send visitors away from your site.
_parent - The link will load in the immediate parent of the current area.
_top - The link will load in the full screen.
_self - The link will load in the current area.

How to create an image link

Using an image as a link works in much the same way as using text. Instead of using something like 'Kludge', insert an image into the page between the <a> tags.

<a href="url" target="name"><img src="imgurl"></a>

imgurl - The full or relative address of the image.