Link Basics
Difficulty: Beginners
Misc Advice
|
|
How to make a link
You seen links, you've clicked them and they take you to new pages. Now its time to make your own.
Heres the code, but I guess your saying to your self wtf does she want me to do with it?... well I want you to know what a basic link code looks like... duh! Now heres an example of what it can turn into to make a working link.
Silent Atmosphere
between the "" goes the website address which is also called URL. and between the < > goes the name of the link. So now the link will come up like:
Silent Atmosphere
How to make a link open on a new page
Not much of a difference from the previous tutorial just one new add-on to make the link open in a new window. Now this is the average link
when you use this the desired link opens in the same window. Making links that lead to another site open up in new windows are good if you own a resourse, graphic or blog site and you don't want your visitors to leave your site just yet.
So by adding the following add on to your link code will get the links you want to open in new pages.
target="_blank" All together the link code looks like
that _blank enables the link to open in a brand new page or if you using netscape 8 or 9 in a new tab. so we will test with this link
Myspace
Test it out and click the link Myspace
How to link an email address
ever wonder how a link that says "Vampchick1756@aol.com" opens up your write email window?
well the normal link code below
can be changed to this
and there it is, nothing huge but mailto: and the email address. make sure you write mailto:yourscreenname@yahoo, hotmail, aol, aim, netscape.com in between the "" like you would if it were a normal link
just replace Vampchick1756@aol.com with your own email address and thats it.
How to link a image
While the image codes stay the same and so does the link codes we are going to combine the following codes below to link an image. the purpose of this is if you have a button for a website and you need to link that button to the website, or if you have a small image preview that needs to be linked to the full size.
The link code:
The image code:
the combined result:
Variations:
To open in a new page
to not have a border
set it to a certain width or height with no border
you can edit the 100px to whatever size you want the image to be 100px is the size of live journal icon or forums icon.
Now that you have an idea on how to edit image and link codes now its time for an visual example.

will result in