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

Part VI: Appendix > Creating Framesets

Creating Framesets

Using the <frameset> and <frame> elements, you can create a browser window that has different HTML documents loaded into different portions of the interface. You can then use the target attribute to load new URLs into the various frames.

To begin a frameset document, you need to use the frameset DTD at the top of the page, followed by the <frameset> element, which acts much like the <body> element in non-frameset documents. The <frameset> element can accept two attributes: rows and cols. With each <frameset> element, you define either rows or columns; if you need one within the other, you’ll use multiple framesets. The rows and cols attributes can accept pixels, percentages, or the * sign, which means “the rest of the window.”


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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