2.2  A Scheme solution

Now look at figure 3. It shows how to define programs that produce HTML pages.

The inner boxes are Scheme boxes. Here they just refer to the inputs of the functions and these strings are added in place to the surrounding HTML pages. In general, these Scheme boxes can contain arbitrary Scheme expressions.

[WEB]

File: web2b.ss

Figure 3:  

Exercise 2.2.1.   Change the pages in figure 3 so that the title of the picture is on the same line, to the left of the picture. Why do we define functions to produce Web pages? Hint: See exercise 2.1.1Solution