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

Summary

In this chapter, you learned about HTML frames and how they can be used to divide a Web browser window so that multiple Web pages can be displayed on the screen at once. You also learned why some people dislike frames and that it’s important to only use them when there’s a strong advantage to them, and even then it’s usually prudent to allow your visitors to opt out of the frames interface.

Once you’ve decided to work with frames, adding them is fairly easy. The <frameset> element is used, in place of the <body> element, to define the columns or rows that make up the frame-based page. You then add <frame /> elements to define the default URL for the frame along with other attributes. One of those attributes is the name or id, which is used to identify the frame when it is to be used as a target for hyperlinks from elsewhere in the frameset.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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