HYPERLINKS
![]() This is the part you've been waiting for! This section is going to talk about hyperlinks. Hyperlinks are direct references to other Web pages. They can be links to other pages on your own site, they can be links to pages on someone else's site, or they can be links to different sections within the same page. I will discuss all of these various kinds of links.
You must add text or an image between the <a href> and the </a> tags, this provides something the user can click. For example: To use text as a hyperlink:
<a href="http://www.synthcom.com/~emu/">Click here!</a>
To use an image as a hyperlink:
<a href="stuff.html"><img src="clickme.gif"></a>
* Note: Be sure to rememeber the quotation marks. Without them, the browser may become confused and your link will be broken.
Sample 9: This page will have a simple table with a border, a
caption, and colored cells. <html> <head> <title>Sample Page #9</title> <!-- This page created by Valerie Bradley 13 June 1997 --> </head> <body bgcolor="FFFFFF"> This is an absolute hyperlink which will go to <a href="http://www.synthcom.com/~emu"> the EMU homepage</a>.<p> This is a relative hyperlink which will go to <a href="sample8.html">my Sample Page #8</a>.<p> </body> </html> This is how it would look on a browser.
Sample 10: This page will have a simple table with a border, a caption, and colored cells. <html> <head> <title>Sample Page #10</title> <!-- This page created by Valerie Bradley 13 June 1997 --> </head> <body bgcolor="FFFFFF"> <a href="#first">First Section</a><br> <a href="#second">Second Section</a><br> <a href="#third">Third Section</a><br> <hr> <a name="first"><strong> Begin First Section </strong></a><br> The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. <p> <a name="second"><strong> Begin Second Section </strong></a><br> Peter Piper picked a peck of pickled peppers. Peter Piper picked a peck of pickled peppers. Peter Piper picked a peck of pickled peppers. <p> <a name="third"><strong> Begin Third Section </strong></a><br> Why did the chicken cross the road? Because it really wanted to! <p> </body> </html> This is how it would look on a browser.
This page created by Valerie Bradley Last updated: |