|
How to Write an HTML Hyperlink |
|
|
|
|
Written by Anthony Delgado
|
Do you want to link to another site on you blog, myspace, e-mail? Here is a very simple way to accomplish this for any HTML based system.
Difficulty: Moderate
Step 1:
URL: The first step in creating a hyperlink to another website is to identify the URL. URL stands for Uniform Resource Locator. It is the unique name for the web page you want to link to.
Step 2:
HTML: HTML is a standardized web language that is translated by your web browser into a front end image that you see. It stands for Hyper Text Markup Language. One of the processes it encompasses is a Hyperlink.
Step 3:
Code: You add a hypertext reference to your HTML in order to link to another page. Here is an example of the code. The ‘a’ identifies the an ‘action’ will take place. The ‘href’ identifies that the action will be a ‘hypertext reference’. You enter the text in between the brackets that you wish to click on from the front end. Then you use a forward slash ‘a’ to identify to stop the action. (Click the image to see the example)
Step 4:

Image Link: If you want an image to click on instead of text, you use a simple piece of code like this. ‘img src’ stands for image source. Enter this instead of or in addition to the text that you wish to appear. Here is an example. (Click the image to see the example)
- Put a few blank lines in your code before and after the reference code. This will help you to locate it to change/modify/remove it.
|