Hour 7. Email Links and Links Within a Page
In Hour 3, "Linking to Other Web Pages," you learned to use the
<a> tag to create links between HTML pages. This hour shows you how to use the same tag to allow readers to jump between different parts of a single page. This gives you a convenient way to put a table of contents at the top of a long document, or to put a link at the bottom of a page that returns you to the top. You'll see how to link to a specific point within a separate page, too.
This hour also tells you how to embed a live link to your email address in a Web page, so readers can instantly compose and send messages to you from within most Web browsers.
Using Named Anchors
Figure 7.1 demonstrates the use of intrapage links. To see ...
Get Sams Teach Yourself HTML 4 in 24 Hours, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.