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

Chapter 8. Creating Links > Targeting Windows

8.5. Targeting Windows

The problem with the hypertext medium is that when a user clicks on an interesting link on your page, he might never come back! One currently popular solution to this problem is to make the target document display in a second browser window. In that way, your page is still readily available.

Use the target attribute of the anchor tag to launch a new browser window for the linked document. Setting the target="_blank" attribute causes the browser to open a fresh browser window. For example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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