Inserting a Link

There are only a few 'tags' in html and I will introduce you to each as we go along. The angle bracket is used throughout. < > as well as = and " " quotation marks. To insert a link the code is always the same. It begins like this: <a href=" "> The only space in it is between the <a and the href> The only thing that changes is the address or url you are inserting. Ex: <a href="http://karmaskorner.com">Karma's Korner</a> This <a href="url"> opens the tag. Title. </a> closes the tag. All tags you use need to be closed out.

Some url's are very long, and to avoid errors I always open a new window to the page I want to link to, highlight the address, right click and copy. Then when I want to insert the link, I just paste it in......here<a href="here">Title</a>
An example of a longer url where there are sub folders involved. The sub folder in the address below is the /PSP/. That means she has put her tubes in a folder she named PSP. <a href="http://www.sweetandkool.com/PSP/psptubes.html">Sweet and Kool</a> Just insert your cursor after the quotation marks.

I want to stress here that url's are 'case sensitive' and if you put upper case in a spot that has lower case, or reversed...you will have a page that says "404" Page not found. The above address has 'PSP' and must be inserted in upper case. If you put /psp/ you will not get to that address. One reason copy and paste comes in handy.

Always check the finished link on your page to make sure it is working.

One tool I have and use all the time is an html validator to check my code. I usually use it after I am completely done a page, to see where any errors may be.

You can download a free validator here. Html Validator Download Lite Version (v3.50)

I always make mistakes somewhere on my page. We all do, no matter how long we have been coding. A missing quotation mark, a tag not closed off, an error in the url. All kinds of little things. This validator will highlight your code in red for errors and tell you where it is. I also use it for spelling checks.

A good tip is to copy and paste this <a href="url">Title</a>into a note pad and save it for further reference.

If you have any questions at all, feel free to email me at :
kkdesigns11@hotmail.com
Site Meter

© KK Designs