Chapter 7. Links

Links are the distinguishing feature of the World Wide Web. They let you skip from one page to another, call up a movie or a recording of The Nields (or your favorite band), and download files with FTP.

A link has three parts: a destination, a label, and a target. The first part, the destination, is arguably the most important. You use it to specify what will happen when the visitor clicks the link. You can create links that show an image, play a sound or movie, download files, open a newsgroup, send an e-mail message, run a CGI program, and more. The most common links, however, connect to other Web pages, and sometimes to specific locations on other Web pages called anchors. All destinations are defined by writing a URL (see page ...

Get HTML for the World Wide Web, Fifth Edition, with XHTML and CSS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.