The main feature of hypertext is that we can set up links to other documents.
A hyperlink must specify 2 things:
  • the file containing the document to link to
  • the text or object in the current document that you want to be highlighted as the hyperlink.
A hyperlink to another document is created using an anchor <a> tag:
<a href="aboutrugs.html"> About Handmade Oriental Rugs </a>
The file can be given by any Unix relative pathname, which means that it can be any document in the current directory or in any subdirectory.
"rugs1/moreonrugs.html"

Critical Information in IMAGE Foil 9 Creating a Web Page: Hyperlinks (Anchors)

From Preparing Web Pages - HTML Presentation: Preparing Web Pages with HTML -- Fall Semester 96. by Nancy McCracken-Foils prepared December 5 1996


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Dec 6 1996