How to link to other websites?

The Web Master's Portal

More Tutorials

How to put links in your web page
A tutorial where new webmasters will learn all about links

Portal

 

Home

html document
<html>

<head>

<title>

Music

</tile>

</head>

<body>

<a href="http://www.masterdiz
.com">The webmaster's portal</a>

</body>

</html>

 

Support

Your Name:

Your E-Mail:


Please describe your problem/idea below:

 
 
Two types of links. to link to your other pages and to other websites.

How to link to my other web pages?

 

You have to put the tag where you want the link to be.
The html tag to link to other pages in your website is:

<a href="name_of_file.htm>the text link</a>

If you have the web page that you want to link in a different directory where the linking page is, the the html tag is:

<a href="directory_name/name_of_file.htm>text of link</a>

If your web page that you want to link is in a different directory in the root directory, then the html tag is:

<a href="../directory_name/name_of_file.htm>text of link</a>

 

 

How to link to my other websites?

To link to other websites on the net it's very similar to link to internal links, here you have to add the "http://" (don't clik on it) in your link tag:

<a href="http://www.masterdiz.com">The webmaster's portal</a>

Explanation:

<a href="http://www.domain_name.com"> Text of Link </a>

If you want to link to a speciphic web page in that domain then :

<a href="http://www.domain-name.com/file_name.htm>text of link </a>

 

Or if it is in a different directory then:

<a href="http://www.domain_name.com/directory_name/file_name.htm> text of link </a>

 

Coming soon more about this tutorial


disclaimer