Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

13.9 Provide information about document collections

You can navigate through document collections more efficiently and effectively if you understand how they are organised. If the page is part of a collection, provide information that identifies a document’s location within the collection. You can:

  • Include a table of contents, site index, or site map
  • Use page counters (e.g., page x of y) to indicate the position in relation to the whole set
  • Using <link> with rel or rev to indicate the URL of the next and previous pages for extra navigation information

Some browsers may synthesize navigation tools or allow ordered printing of a set of documents based on such markup.

For example, you might include the following <link> tags in the <head> tag of chapter 2 of a book:

<link rel="Next" href="chapter3">
<link rel="Prev" href="chapter1">
<link rel="Start" href="contents">
<link rel="Glossary" href="glossary">

The text-based browser Lynx will build a small menu of links at the top of the page that reads like this:

# Contents Chapter 1 Chapter 2 Chapter 3 Glossary

You can also bundle documents to make it easy to read them off-line. Use archiving tools such as zip, tar and gzip, and StuffIt to create the bundle.