Inline frames
An inline frame is a special container that displays content from a specified document or URL. You can think of an inline frame in a document as a “window” through which you can view another document. In the example below, the inline frame displays the contents of a document named “lipsum.html”.
Hello and welcome to my excellent home page featuring an inline frame! Here it is: Neat, huh? |
An inline frame example
Inline frames have many uses. One powerful use of inline frames is to enclose the exact same content in several documents: instead of copying and pasting the shared content into each document, you can put it into a separate document that is displayed in inline frames in each document that needs it. The advantage of this approach is that you can later edit the shared content in one place, and all the documents that use it will “update” automatically.
In this section
Editing a local document in an inline frame
Modifying inline frame properties
Using an inline frame as the target of a link