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

Chapter 5. Advanced Graphics > Images as Hyperlink Anchors

Images as Hyperlink Anchors

As explained in Chapter 3, "XHTML 1.0 Element Reference," the <a> container element is used to create hypertext anchors. By clicking the hypertext, you instruct your browser to load the resource at the URL specified in the href attribute of the <a> element.

No law says that hyperlink anchors can only be text. You will often find images serving as anchors, as well. By linking images to other Web pages, you create a button-like effect—the user clicks the button and the browser loads a new page, submits a form, or performs some other action.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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