02 April 2004

Making Links

Links are easy, once you know the code. Here's the breakdown:

1. All links are enclosed in angle brackets (which, for the purposes of this example, will be replaced by asterisks):
*

2. Links are, in html, anchors. The abbreviations for anchors in code is the letter "a":
*a

3. Links refer somewhere else, which abbreviates to href (html reference):
*a href

4. The a href equals something, so:
*a href=

5. The Universal Resource Locator (URL) you're going to is next, enclosed in quotation marks:
*a href="http://www.google.com"

6. That's it, for the first part, so close the angle bracket:
*a href="http://www.google.com"*

7. But that link wouldn't even appear on a page, because it needs something, either text or a picture, to work on:
*a href="http://www.google.com"*link to google

8. And then it needs to be told to stop working, so turn off the tag, which is a repetition of the tag with the front slash on it:
*a href="http://www.google.com"*link to google*/a*

That's it -- you've now included a working link.