Hypertext

Linking from one Web page to another is the basic reason for the existence of the World Wide Web. The ability to quickly access another page gives authors the flexibility to create rich hypertexts that allow the reader an entirely different dimension of interaction. Creating links in HTML involves using the anchor tag with the hypertext reference attribute. It is always written like this:

<a href="link_location">Clickable Text</a>

Here, "link_location" is the URL of the Web page being linked to.

Resources

Similarly, various resources can be displayed at a certain location in a web page. Graphics, for instance, can be placed with the body of a document. These graphics remain separate files, however. They are linked using the image tag with the source attribute. It is always written like this (in HTML 4.0 and earlier):

<img src="image_location">

As above, "image_location" is the URL of the graphics file. Other resources are linked in a similar manner using different html codes.

Absolute and Relative URLs

There are two kinds of URLs that can be used for linking, and different reasons for using each. Please read and understand the next two pages:


|

Hollenbeck Home

Last modified Thursday, April 13, 2006 9:56 AM
.

Search ECI 575

Menu