1416 Introduction to HyperText Markup Language (Web site development) 4: Part
1416 Introduction to HyperText Markup Language 4: Part 2 Appendix J Go to Favorite Features shows a hyperlink with the anchor features as its target. Selecting this hyperlink in a visual browser would scroll the browser window to the features anchor (line 16). Examples of this occur in Fig. J.6, which shows two different screen captures from the same page, each at a different anchor. You can also link to an anchor in another page, using the URL of that location (using the format href=”page.html#name”). Look-and-Feel Observation J.2 Internal hyperlinks are most useful in large HTML files with lots of information. You can link to various points on the page to save the user from having to scroll down and find a specific location. J.7 Creating and Using Image Maps We have seen that images can be used as links to other places on your site or elsewhere on the Internet. We now discuss how to create image maps (Fig. J.7), which allow you to designate certain sections of the image as hotspots and then use these hotspots as links. All elements of an image map are contained inside the tags. The required attribute for the map element is name(line 18):