Output Delivery System: The Basics and Beyond
by Lauren E. Haworth, Cynthia L. Zender, Michele M. Burlew
Exploring Links and Anchors
You don't have to understand HTML code to generate output with a table of contents or a table of pages. However, if you understand the basics of how the code works, it makes it easier to customize your output. The table of contents file has to communicate via the browser with the main body file. When you click on an item in the table of contents, the browser uses links and references to determine where to go in the body file. "Exploring the Frame File" earlier in this chapter shows how the table of contents and body pages are set up within a frame page. This example shows how the links between the two pages work.
The following code produces a simple Web page with a table of contents that we can use to explore how ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access