Khimaira FAQs :: Khimaira WebHosting Solutions

Search ::

Khimaira FAQs :: Web Design Tips and Resources :: Chapter 4 - Linking to other pages

Information
Chapter 4 - Linking to other pages and other sites 
 
How do I create links on my site?
Links are easy to create on a site.  The HTML tag looks something like this. 

Visit Khimaira WebHosting 

This is what the HTML tags look like... 

<a href="http://khimaira.com">Visit Khimaira WebHosting</a> 

Note the "a" then a space href=" "  That is where you define the URL of where you want the link to go.  That is an example of what is called "hard referencing."  Hard vs. soft referencing will be explained next in this chapter. 
 
What is hard vs. soft referencing?
Hard referencing is a link on your site that uses the complete URL to get to the destination that you wish.  Soft referencing is a link that is telling the browser that the page in question is on the same server, and is in a respective directory (if specified).  Here are examples of both hard and soft referencing. 

Hard referencing 

Check out Khimaira's Great Services and Prices!

This is what the HTML tags look like...  (Note the complete URL) 

Check out <a href="http://khimaira.com/hosting.htm">Khimaira's Great Services and Prices!</a> 

Soft referencing 

Check out Khimaira's Great Services and Prices!

This is what the HTML tags look like...  (Note the ../ to indicate to the browser/server to go up a directory to find the web page) 

Check out <a href="..hosting.htm">Khimaira's Great Services and Prices!</a> 

Soft referencing has many advantages.  If you are linking to a page on your server, in a directory that is the same or one step above or below the directory where the HTML page lies, use soft referencing because the page will load faster because it doesn't have to find the DNS (domain name server) location again.  Basically this means that it loads faster due to the fact that the HTML page you are linking to is very close in terms of the server.  
 
How do I link images?
Linking images is a combination of the links you've learned above, and the image tags you learned in  Chapter 3.   Here is an example of linking an image, and how it looks. 

Visit  to learn more HTML!!! 

This is what the HTML tags look like... 

Visit <a href="http://khimaira.com/"><img src="http://khimaira.com/images/top.ht1.jpg"></a> to learn more HTML!!! 
 
 
How do I make the email tag?
The other link tag you will need to learn is the mailto tag.  This tag is a tag used to give a person browsing your site, an email address to mail you information, request information, or simply make comments.  This type of link will open the email program that the user has on their computer.  This is an example of a mailto tag... 

Email Comments to the Webmaster 

This is what the HTML tags look like... 

Email Comments to the <a href="mailto:webmaster@khimaira.com">Webmaster</a> 

Note how this is setup.  It is just like linking to a page, but the "mailto:" information is the key.  Make sure you follow the "mailto:" attribute with a valid email address. 
 
How do I link other sites to my site?
Other sites can only be linked to your site if they agree to do so.  If you like a site and wish to have a link from their site to yours, ask.  It can't hurt.  If you provide special services, whether Internet related or not, let them know.  It might be a beneficial business venture. 
 
How do I get people to my site?
SEARCH ENGINES!!!  In addition to the sites listed in our promoting your site category, here are two more..  
http://www.liquidimaging.com/liqimg/submit/welcome.htm 
http://www.the6thwave.com/promote5.shtml 

 
Chapter 4 HTML tags
Here is a brief explanation and examples of the beginning HTML tags you will need to know to create a simple HTML page. 
 
HTML Tags
Explanation of Tag
<a href="http://khimaira.comt>KHIMAIRA</a>
This is an example of a link that uses the "http" reference.  This should be avoided if linking to pages on your site, although it is effective.
<a href="../cgi.htm">CGI/Java Library</a>
This is an example of a link to another HTML file in another directory on the same server.  This should be used when possible.
<a href="http://khimaira.com/"><img src="
http://khimaira.com/images/top.ht1.jpg
"></a>
This is an example of how to link an image.
<a href="mailto:webmaster@khimaira.com">Webmaster</a> This is an example of how to make a mailto tag.  This tag is used to open the email program of someone browsing your site.

 


KBase v1.0
© 2001 TLC Web Enterprises
All Rights Reserved
Timer: This page was generated in
0.0278 seconds.