![]() Part Six: Creating Links Now we start making a website. If the only webpage you have made so far is index.html, go back and make one or two more webpages. But don't name them index.html or you will erase all the information you put into that document. Always remember to save each with .html at the end of the document and to save it as Text Document. Now we are going to link your new page onto your homepage. Insert the following coding on your page: <A HREF=""></A> and between "" enter the name of your file you would like to link to, and between the tags write what you would like the link to say. See the example below: <A HREF="copyandpaste.html">How to copy and paste</A> It looks like this when applied Replace "copyandpaste.html" with whatever your file name is and How to copy and paste with what you would like your link to be named. Or you can link to another website using the same tags but you simply insert the web address to the link between the "" in <A HREF="">. The below tag links you to Yahoo. <A HREF="http://www.yahoo.com">Yahoo</A> and looks like this and if you click on the above Yahoo link it will take you right to the Yahoo website. Please note that web addresses do not start with www. but with http:// then the web address. Link To Your Email The below tag will let you place a link on your webpage so visitors can send an email to you. I obviously have used the below tag to link to my email. Just insert your email address where mine is. <A HREF="mailto:[email protected]">Send Me An Email</A> Click on the link above to see how this works. Use a Picture or Graphic as a link This is how it's done. I'm assuming you already know how to post an image since we've already done this. Here's the coding using the belle.jpg picture you've already downloaded. <A HREF="http://www.yahoo.com"><img src="belle.jpg"></A> It will appear as this and when you click on the picture it will take you to Yahoo. It's always a good idea to put a link back to your homepage on your other pages. I've done this on every page on this website. You will always use "index.html", since this is always the first page of a website. <A HREF="index.html">Back to the Main Page</A> is the same as the link below to my home page.
(C)2004 [email protected] |