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.omniautos.f9.co.uk/htmlcode/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/picagif.gif">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.

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 the page which is done with
<A NAME="top">
and the link is
<A HREF="#top">TOP OF THE PAGE</A>
or if it's on another page it could be
<A HREF="index.htm#top">TOP OF INDEX THE PAGE</A>

Redirect - If you you've had a site going for sometime and are changing the url you either have to leave a link on the old site or put on a redirect command to do it for them.
All you do is put this line in before the </head> line with any text editor. Put your new url in and the 0 can be any number if you want to delay their stay so they can read that you are redirecting them. i.e. "if you are not automaticly redirected to our new site in 5sec then click this link."

<meta http-equiv="REFRESH" content="0;url=http://www.new.site.address">
 


Back to Omni-Web PageBack to Omni-Web Page

 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">
   <meta name="Description" content="using links in web pages">
   <title>Email link</title>
</head>
<body text="#000000" bgcolor="#FFFFCC" link="#0000EE" vlink="#551A8B" alink="#FF0000">

<h6>
<script language=javascript>

document.writeln(" last updated " + document.lastModified);

</script>
</h6>

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

<blockquote><font size=+1>To get this email link <a href="mailto:your_email_address@here">Email
us</a>&nbsp; add the following</font></blockquote>

<blockquote><font size=+1>&lt;A HREF="mailto:your_email_address@here">Email
us&lt;/A></font>
<p><font size=+1>See <a href="email.htm">Email page</a> for more options
such as ccing or bccing or filling in the body of text</font>
<p><font size=+1>a link to a web site will look like this <a href="http://www.omniautos.f9.co.uk/htmlcode/index.htm">HTMLPAGE</a></font>
<br><font size=+1>&lt;A HREF="http://www.omniautos.f9.co.uk/htmlcode/index.htm">HTMLPAGE&lt;/A></font>
<p><font size=+1>a link to your hard drive will look like this <a href="file:///c|/">C:\</a></font>
<br><font size=+1>&lt;A HREF="file:///c|/">C:\&lt;/A></font>
<p><font size=+1>a link to a file in a nearby directory will look like
one of these a file in the</font>
<br><font size=+1><a href="links.htm">same dir</a> &lt;A HREF="links.htm">same
dir&lt;/A></font>
<br><font size=+1><a href="../index.htm">back one dir</a> &lt;A HREF="../index.htm">back
one dir&lt;/A></font>
<br><font size=+1><a href="../../index.htm">back two dir</a> &lt;A HREF="../../index.htm">back
two dir&lt;/A></font>
<br><font size=+1><a href="images/picagif.gif">down one dir</a> &lt;A HREF="images/picagif.gif">down
one dir&lt;/A></font>
<br><font size=+1><a href="../links/index.htm">back one down one</a> &lt;A
HREF="../links/index.htm">back one down one&lt;/A></font>
<p><font size=+1>&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.</font>
<p><font size=+1>&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.</font>
<center>
<p><font size=+1>TARGETS</font></center>

<p><font size=+1>&nbsp;&nbsp;&nbsp; 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 the page
which is done with</font>
<br><font size=+1>&lt;A NAME="top"></font>
<br><font size=+1>and the link is</font>
<br><font size=+1>&lt;A HREF="#top">TOP OF THE PAGE&lt;/A></font>
<br><font size=+1>or if it's on another page it could be</font>
<br><font size=+1>&lt;A HREF="index.htm#top">TOP OF INDEX THE PAGE&lt;/A></font><font size=+1></font>
<p><font size=+2>Redirect </font><font size=+1>- If you you've had a site
going for sometime and are changing the url you either have to leave a
link on the old site or put on a redirect command to do it for them.</font>
<br><font size=+1>All you do is put this line in before the &lt;/head>
line with any text editor. Put your new url in and the 0 can be any number
if you want to delay their stay so they can read that you are redirecting
them. i.e. "if you are not automaticly redirected to our new site in 5sec
then click this <a href="http://www.new.site.address">link</a>."</font><font size=+1></font>
<p><font size=+1>&lt;meta http-equiv="REFRESH" content="0;url=http://www.new.site.address"></font>
<br><font size=+1></font>&nbsp;
<p><br>
<center>
<p><a href="../index.htm"><img SRC="../but_home.gif" ALT="Back to Omni-Web Page" BORDER=0 height=32 width=128></a><a href="index.htm"><img SRC="../but_htm.gif" ALT="Back to Omni-Web Page" BORDER=0 height=32 width=128></a><a href="index.htm"><img SRC="images/email.jpg" BORDER=0 height=37 width=397></a>
<p>&nbsp;<font size=+2>Source Code</font></center>
<font size=+1></font></blockquote>

</body>
</html>