Basic HTML version of Foils prepared 11 May 1997

Foil 9 Creating a Web Page: Hyperlinks (Anchors)

From Introduction to HTML--ECS400 fall 97 ECS400 Senior Undergraduate Course -- Spring Semester 97. by Nancy J. McCracken *

1 The main feature of hypertext is that we can set up links to other documents.
2 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.
3 A hyperlink to another document is created using an anchor <a> tag:
4 <a href="aboutrugs.html"> About Handmade Oriental Rugs </a>
5 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.
6 "rugs1/moreonrugs.html"

in Table To:


© 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 Tue Aug 26 1997