English 504

Sunday, January 08, 2006

How to make a link to a web site

When you click on "Leave Your Comment" in the text box to enter your information, if you would like to make a link to another web site (i.e. for your rhetorical journal) simply copy the web address and add an html link tag which looks like this:

<A HREF="http://www.google.com">Click Here For Google</A>
Note: in this example we are using the web address for google. The information around the web address is what creates a clickable link. It includes the less than symbol (<), the syntax A= HREF, and the greater than symbol (>) followed by the web address and ended with the less than symbol (<), a slash (/), the letter A, and the greater than symbol (>).

Here's What's Happening
  • A stands for Anchor. It begins the link to another page.
  • HREF stands for Hypertext REFerence. That's a nice, short way of saying to the browser, "This is where the link is going to go."
  • http://www.google.com is the FULL ADDRESS of the link. Also notice that the address has an equal sign in front of it and is enclosed in quotes. Why? Because it's an attribute of the Anchor tag, a command inside of a command.
  • Where it reads "Click Here For Google" is where you write the text you want to appear on the page. What is in that space will appear on the page for the viewer to click. So, write something that denotes the link.
  • /A ends the entire link command.

  • 0 Comments:

    Post a Comment

    << Home