C H A P T E R 5
Creating Custom Components
In this chapter, you'll learn how to create your own components that can be reused on multiple pages.
Displaying a Copyright Notice on Multiple Pages
Suppose that you'd like to display a copyright notice on multiple pages like that shown in Figure 5-1.
Figure 5-1. Copyright notice on multiple pages
This is no good, because if later you need to modify the copyright notice, you'll have to do it multiple times (once for each page). To solve this problem, you can extract the common HTML code into a separate ...