• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Working with Links

Chapter 6. Working with Links

A hyperlink, or simply a link, is a pointer from one page or file to another. The page that contains the link is called the referring page, and the destination of the click is called the target of the link. One could easily argue that links, more than fancy typographical or image capabilities, differentiate the Web (Figures 6.1 and 6.2) from any of its electronic file-transfer predecessors, including FTP, gopher, and Archie. Although the bells and whistles of the showier pages are what impress the easily impressed and cause the browser market to boom, the fact is that the most important element in the Hypertext Transfer Protocol—that http at the beginning of Web URLs—is the word hypertext.

Figure 6.1. This page uses images, a background image, tables, and style sheets, but the real content is in the links. Even if I added background music, Shockwave, files, frames, and a flaming logo, the links would still be the meat here.


Figure 6.2. This is the same page as shown in Figure 6.1, with all the extras removed. The content remains the same—you can get there from here with nothing but links.


With regular old HTML, you can link your pages to other documents within your own site or anywhere in the world. I say "documents" because you can link to images, multimedia files, and downloadable programs, as well as other Web pages.

In this chapter you'll find out how to make a link, how relative links work, and how to make an e-mail link. You'll be able to link images as well as text. You'll find out how to use the Site window to point to the page you want to link to. And you'll find out about using named anchors to link to specific locations on a page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint