next up previous contents
Next: Frames Up: Fourth miniproject: "Hypertext - Previous: Stylesheets

Pages versus Documents

The HTML layout language is designed to represent individual pages in a hypertext, and the concept of a document is identical to the concept of a page, represented by a file on a WWW hypertext server. In HTML there is no concept of a document which contains more than one page (or file). But there is an element called anchor which permits references (links, pointers) to other pages to be defined.

This means that the layout design of a document which is intended to have more than one page must be formulated separately from the individual pages. The links between the pages can then be formulated as HTML anchors.

Tasks:

  1. Check the web for definitions of "anchor" in HTML.
  2. Look for examples.
  3. Construct a skeleton document consisting of a main file which contains two anchors, each of which points to another HTML file.


Dafydd Gibbon, Thu Jul 19 17:47:45 MET DST 2001