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

Chapter 7. Building Hypertext Links > How Hyperlinks Work

How Hyperlinks Work

On the Web, hyperlinks are the basis of all movement and manipulation. Clicking a link on a Web page generally moves you to the related resource by loading that resource in your Web browser or in a helper application. Sometimes that’s a new Web page; sometimes it’s another Internet service, like an e-mail message or an FTP (file transfer protocol) server. Before the user can click a link, however, it has to be created by the Web author.

You use an XHTML element, the <a> anchor element, to create a hyperlink. The anchor requires the href attribute, which is used to tell the Web browser which new URL is being referenced by the hyperlink. So, to create a hyperlink, you’ll first need to determine the URL for the target page or resource.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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