Links
To get this email link Email us  add the following
<A HREF="mailto:your_email_address@here">Email us</A>

See Email page for more options such as ccing or bccing or filling in the body of text

a link to a web site will look like this HTMLPAGE
<A HREF="http://www.htmlcode.plus.com/index.htm">HTMLPAGE</A>

a link to your hard drive will look like this C:\
<A HREF="file:///c|/">C:\</A>

a link to a file in a nearby directory will look like one of these a file in the
same dir <A HREF="links.htm">same dir</A>
back one dir <A HREF="../index.htm">back one dir</A>
back two dir <A HREF="../../index.htm">back two dir</A>
down one dir <A HREF="images/">down one dir</A>
back one down one <A HREF="../links/index.htm">back one down one</A>

    This is the way to get links around your site if you use anything else then they are only going to work either only on your hard disk <A HREF="file:///c|/">Disk C:\</A> or only after loading them on the net <A HREF="http://www.wherever.com/">website</A>. A good test is to copy your site on to a different drive or rename the root directory and see if your local links still work. The other thing that cannot be over emphasised is remember use the same case as although if you link to a 'Test.Htm' file on your hard disk and the file is called 'test.htm' it will link but when you up load it, it won't the web is case specific I try to use all lowercase that way it's easier to spot.

    If you use the full http://www.whatever.com in an email friends can click on it and it should link them straight with the site. This doesn't work in all cases I use Yahoo when away from home and it doesn't work in that.

Most Sites will have a page of links and this is how you can get more traffic on your site, you can email people with similar interest sites and ask if they'll put a link on their site and in return you can put a link to theirs on your site. I usually put links to sites I like and if they want to reciprocate that's up to them. Beware you'll get lots of offers, put this link on your site and we'll add yours to ours. Go to these sites, don't do this just it because they ask often these site have nothing in common with mine.

Targets

    Sometimes you just want to go to another point on the page to do this first you need a target to link to as in TOP OF THE PAGE which will take you to a target at the top of this page. This is how the links are built into this book the at the start of each section is a Name command and so when you click on a link or the Skip Code Icon it goes to a  <A HREF="#top"> or the name I've given it. Click target and Targets will be at the top of the screen because there is a target in front of Targets.
Target for top would be <A NAME="top">
and the link is to it would be
<A HREF="#top">TOP OF THE PAGE</A>
or if it's on an index page in the same folder/directory it would be
<A HREF="index.htm#top">TOP OF INDEX THE PAGE</A>

If you're putting in links to other sites as well as links within your site, or other bits of your page, you can use the target "_blank" which will start the external pages in new tabs.
<A HREF="http://www.htmlcode.plus.com/index.htm" target "_blank">External Site Link</A>
<A HREF="#top">Internal Link TOP OF THE PAGE</A>
 
 

Home

Source Code


<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="Author" content="nik">
   <meta name="GENERATOR" content="Mozilla/4.8 [en] (Windows NT 5.0; U) [Netscape]">
   <meta name="KeyWords" content="links,redirect,top,of,the,page,home,email,us,htm,html,web,www,internet,edit">
   <meta name="Description" content="using links on web pages">
   <title>HTML LINKS</title>
<link rel="shortcut icon" href="favicon.ico" >
</head>
<body text="#000000" bgcolor="#FFFF99" link="#0000EE" vlink="#551A8B" alink="#FF0000">

<center><a NAME="top"></a><font size=+4>Links</font></center>

<blockquote>To get this email link <a href="mailto:your_email_address@here">Email
us</a>&nbsp; add the following
<br>&lt;A HREF="mailto:your_email_address@here">Email us&lt;/A>
<p>See <a href="email.htm">Email page</a> for more options such as ccing
or bccing or filling in the body of text
<p>a link to a web site will look like this <a href="http://www.htmlcode.plus.com/index.htm">HTMLPAGE</a>
<br>&lt;A HREF="http://www.htmlcode.plus.com/index.htm">HTMLPAGE&lt;/A>
<p>a link to your hard drive will look like this <a href="../../">C:\</a>
<br>&lt;A HREF="file:///c|/">C:\&lt;/A>
<p>a link to a file in a nearby directory will look like one of these a
file in the
<br><a href="links.htm">same dir</a> &lt;A HREF="links.htm">same dir&lt;/A>
<br><a href="../index.htm">back one dir</a> &lt;A HREF="../index.htm">back
one dir&lt;/A>
<br><a href="../../index.htm">back two dir</a> &lt;A HREF="../../index.htm">back
two dir&lt;/A>
<br><a href="images/">down one dir</a> &lt;A HREF="images/">down one dir&lt;/A>
<br><a href="../links/index.htm">back one down one</a> &lt;A HREF="../links/index.htm">back
one down one&lt;/A>
<p>&nbsp;&nbsp;&nbsp; This is the way to get links around your site if
you use anything else then they are only going to work either
<u>only</u>
on your hard disk &lt;A HREF="file:///c|/">Disk C:\&lt;/A> or
<u>only</u>
after loading them on the net &lt;A HREF="http://www.wherever.com/">website&lt;/A>.
A good test is to copy your site on to a different drive or rename the
root directory and see if your local links still work. The other thing
that cannot be over emphasised is remember use the same case as although
if you link to a 'Test.Htm' file on your hard disk and the file is called
'test.htm' it will link but when you up load it, it won't the web is case
specific I try to use all lowercase that way it's easier to spot.
<p>&nbsp;&nbsp;&nbsp; If you use the full http://www.whatever.com in an
email friends can click on it and it should link them straight with the
site. This doesn't work in all cases I use Yahoo when away from home and
it doesn't work in that.
<p>Most Sites will have a page of links and this is how you can get more
traffic on your site, you can email people with similar interest sites
and ask if they'll put a link on their site and in return you can put a
link to theirs on your site. I usually put links to sites I like and if
they want to reciprocate that's up to them. Beware you'll get lots of offers,
put this link on your site and we'll add yours to ours. Go to these sites,
don't do this just it because they ask often these site have nothing in
common with mine.
<h3>
<a NAME="TARGETS"></a><font size=+1>Targets</font></h3>

<p><font size=+1>&nbsp;&nbsp;&nbsp;</font> Sometimes you
just want to go to another point on the page to do this first you need
a target to link to as in <a href="#top">TOP OF THE PAGE</a> which will
take you to a target at the top of this page. This is how the links are
built into this book the at the start of each section is a Name command
and so when you click on a link or the Skip Code Icon it goes to a&nbsp;
&lt;A HREF="#top"> or the name I've given it. Click
<a href="#TARGETS">target
</a>and
Targets will be at the top of the screen because there is a target in front
of Targets.
Target for top would be &lt;A NAME="top">
<br>and the link is to it would be
<br>&lt;A HREF="#top">TOP OF THE PAGE&lt;/A>
<br>or if it's on an index page in the same folder/directory it would be
<br>&lt;A HREF="index.htm#top">TOP OF INDEX THE PAGE&lt;/A>
<p>If you're putting in links to other sites as well as links within your
site, or other bits of your page, you can use the target "_blank" which
will start the external pages in new tabs.
<br>&lt;A HREF="http://www.htmlcode.plus.com/index.htm" target "_blank">External
Site Link&lt;/A>
<br>&lt;A HREF="#top">Internal Link TOP OF THE PAGE&lt;/A>
<br>&nbsp;
<br>&nbsp;
<br>
<br>
<center>
<p><a href="index.htm"><img SRC="but_home.gif" ALT="Home" BORDER=0 title="Home" height=32 width=128></a></center>

<p><br>
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;</blockquote>

</body>
</html>

Home